aboutsummaryrefslogtreecommitdiff
path: root/readline/doc/hstech.texinfo
diff options
context:
space:
mode:
Diffstat (limited to 'readline/doc/hstech.texinfo')
-rw-r--r--readline/doc/hstech.texinfo9
1 files changed, 8 insertions, 1 deletions
diff --git a/readline/doc/hstech.texinfo b/readline/doc/hstech.texinfo
index 5410090..12fff2c 100644
--- a/readline/doc/hstech.texinfo
+++ b/readline/doc/hstech.texinfo
@@ -66,6 +66,13 @@ If the programmer desires, he can use the Readline library, which
includes some history manipulation by default, and has the added
advantage of command line editing.
+Before declaring any functions using any functionality the History
+library provides in other code, an application writer should include
+the file @code{<readline/history.h>} in any file that uses the
+History library's features. It supplies extern declarations for all
+of the library's public functions and variables, and declares all of
+the public data structures.
+
@node History Storage
@section History Storage
@@ -334,7 +341,7 @@ if expansions did take place;
@item -1
if there was an error in expansion;
@item 2
-if the returned line should only be displayed, but not executed,
+if the returned line should be displayed, but not executed,
as with the @code{:p} modifier (@pxref{Modifiers}).
@end table