# HG changeset patch # User Richard M. Stallman # Date 1039297336 0 # Node ID e7f0249cfca8182328aaa1bd9f95eaa55f3332d9 # Parent ddd01000bda9931ac3a5040d4d5511097f989bc4 Document history-length. diff -r ddd01000bda9 -r e7f0249cfca8 lispref/minibuf.texi --- a/lispref/minibuf.texi Sat Dec 07 21:41:51 2002 +0000 +++ b/lispref/minibuf.texi Sat Dec 07 21:42:16 2002 +0000 @@ -435,6 +435,20 @@ name to the input functions when you wish. But it is safe to modify the list by hand when the minibuffer input functions are not using it. + Emacs functions that add a new element to a history list can also +delete old elements if the list gets too long. The variable +@code{history-length} specifies the maximum length for most history +lists. To specify a different maximum length for a particular history +list, put the length in the @code{history-length} property of the +history list symbol. + +@defvar history-length +The value of this variable specifies the maximum length for all +history lists that don't specify their own maximum lengths. If the +value is @code{t}, that means there no maximum (don't delete old +elements). +@end defvar + Here are some of the standard minibuffer history list variables: @defvar minibuffer-history