diff options
author | Skip Montanaro <skip@pobox.com> | 2000-07-19 16:56:26 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2000-07-19 16:56:26 (GMT) |
commit | 7cb15245860998c4b952c52a0d439d9686ea39bc (patch) | |
tree | 232417fa5c86e08e02a88af6632465284494bedc | |
parent | 49bd24d4e4ce539c452e9ba43c6c0f7f1c6aff94 (diff) | |
download | cpython-7cb15245860998c4b952c52a0d439d9686ea39bc.zip cpython-7cb15245860998c4b952c52a0d439d9686ea39bc.tar.gz cpython-7cb15245860998c4b952c52a0d439d9686ea39bc.tar.bz2 |
added documentation for new functions {get,set}_history_length
-rw-r--r-- | Doc/lib/libreadline.tex | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/lib/libreadline.tex b/Doc/lib/libreadline.tex index 7c5683f..4681ee5 100644 --- a/Doc/lib/libreadline.tex +++ b/Doc/lib/libreadline.tex @@ -42,6 +42,17 @@ Save a readline history file. The default filename is \file{\~{}/.history}. \end{funcdesc} +\begin{funcdesc}{get_history_length}{} +Return the desired length of the history file. Negative values imply +unlimited history file size. +\end{funcdesc} + +\begin{funcdesc}{set_history_length}{length} +Set the number of lines to save in the history file. +\func{write_history_file} uses this value to truncate the history file when +saving. Negative values imply unlimited history file size. +\end{funcdesc} + \begin{funcdesc}{set_completer}{\optional{function}} Set or remove the completer function. The completer function is called as \code{\var{function}(\var{text}, \var{state})}, |