summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libreadline.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libreadline.tex')
-rw-r--r--Doc/lib/libreadline.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libreadline.tex b/Doc/lib/libreadline.tex
index d428594..17b48c5 100644
--- a/Doc/lib/libreadline.tex
+++ b/Doc/lib/libreadline.tex
@@ -42,6 +42,12 @@ Save a readline history file.
The default filename is \file{\~{}/.history}.
\end{funcdesc}
+\begin{funcdesc}{clear_history}{}
+Clear the current history. (Note: this function is not available if
+the installed version of GNU readline doesn't support it.)
+\versionadded{2.4}
+\end{funcdesc}
+
\begin{funcdesc}{get_history_length}{}
Return the desired length of the history file. Negative values imply
unlimited history file size.