]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - lib/readline/doc/hstech.texinfo
Imported from ../bash-2.01.tar.gz.
[thirdparty/bash.git] / lib / readline / doc / hstech.texinfo
index be41318430095dd160cde9587776d8f5cbb52542..54100908407599ed909186311f643a54493963d4 100644 (file)
@@ -415,6 +415,17 @@ If non-zero, single-quoted words are not scanned for the history expansion
 character.  The default value is 0.
 @end deftypevar
 
+@deftypevar {Function *} history_inhibit_expansion_function
+This should be set to the address of a function that takes two arguments:
+a @code{char *} (@var{string}) and an integer index into that string (@var{i}).
+It should return a non-zero value if the history expansion starting at
+@var{string[i]} should not be performed; zero if the expansion should
+be done.
+It is intended for use by applications like Bash that use the history
+expansion character for additional purposes.
+By default, this variable is set to NULL.
+@end deftypevar
+
 @node History Programming Example
 @section History Programming Example