added documentation for new functions {get,set}_history_length

This commit is contained in:
Skip Montanaro 2000-07-19 16:56:26 +00:00
parent 49bd24d4e4
commit 7cb1524586
1 changed files with 11 additions and 0 deletions

View File

@ -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})},