Revert "Sync readline/ to version 7.0 alpha"
[deliverable/binutils-gdb.git] / readline / doc / hstech.texi
index 6deaeee265fc2b5734a51fbaee4b1f5e5e022338..4fc9e8ef1b7fb90e78e8c11c9d96ae1532ded72f 100644 (file)
@@ -1,7 +1,7 @@
 @ignore
 This file documents the user interface to the GNU History library.
 
-Copyright (C) 1988-2014 Free Software Foundation, Inc.
+Copyright (C) 1988-2011 Free Software Foundation, Inc.
 Authored by Brian Fox and Chet Ramey.
 
 Permission is granted to make and distribute verbatim copies of this manual
@@ -270,11 +270,9 @@ a @code{NULL} pointer.
 @end deftypefun
 
 @deftypefun {HIST_ENTRY *} next_history (void)
-If the current history offset refers to a valid history entry,
-increment the current history offset.
-If the possibly-incremented history offset refers to a valid history
-entry, return a pointer to that entry;
-otherwise, return a @code{BNULL} pointer.
+Move the current history offset forward to the next history entry, and
+return the a pointer to that entry.  If there is no next entry, return
+a @code{NULL} pointer.
 @end deftypefun
 
 @node Searching the History List
@@ -379,7 +377,7 @@ if the returned line should be displayed, but not executed,
 as with the @code{:p} modifier (@pxref{Modifiers}).
 @end table
 
-If an error occurred in expansion, then @var{output} contains a descriptive
+If an error ocurred in expansion, then @var{output} contains a descriptive
 error message.
 @end deftypefun
 
@@ -469,8 +467,8 @@ carriage return, and @samp{=}.
 @end deftypevar
 
 @deftypevar int history_quotes_inhibit_expansion
-If non-zero, double-quoted words are not scanned for the history expansion
-character or the history comment character.  The default value is 0.
+If non-zero, single-quoted words are not scanned for the history expansion
+character.  The default value is 0.
 @end deftypevar
 
 @deftypevar {rl_linebuf_func_t *} history_inhibit_expansion_function
This page took 0.025285 seconds and 4 git commands to generate.