changeset 48730:e7f0249cfca8

Document history-length.
author Richard M. Stallman <rms@gnu.org>
date Sat, 07 Dec 2002 21:42:16 +0000
parents ddd01000bda9
children e156891cd394
files lispref/minibuf.texi
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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