aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-12-07 21:42:16 +0000
committerRichard M. Stallman2002-12-07 21:42:16 +0000
commitff306b6098286e28819901f3272437b957e8f6b6 (patch)
tree412c07b9649de0b7eef15405a66b10e623db91db
parentc80d2280abe4bea9d67287a67783e4da52a6ddd3 (diff)
downloademacs-ff306b6098286e28819901f3272437b957e8f6b6.tar.gz
emacs-ff306b6098286e28819901f3272437b957e8f6b6.zip
Document history-length.
-rw-r--r--lispref/minibuf.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi
index 1159602fabd..d5e57d79327 100644
--- a/lispref/minibuf.texi
+++ b/lispref/minibuf.texi
@@ -435,6 +435,20 @@ needs to do to use a history list is to initialize it and to pass its
435name to the input functions when you wish. But it is safe to modify the 435name to the input functions when you wish. But it is safe to modify the
436list by hand when the minibuffer input functions are not using it. 436list by hand when the minibuffer input functions are not using it.
437 437
438 Emacs functions that add a new element to a history list can also
439delete old elements if the list gets too long. The variable
440@code{history-length} specifies the maximum length for most history
441lists. To specify a different maximum length for a particular history
442list, put the length in the @code{history-length} property of the
443history list symbol.
444
445@defvar history-length
446The value of this variable specifies the maximum length for all
447history lists that don't specify their own maximum lengths. If the
448value is @code{t}, that means there no maximum (don't delete old
449elements).
450@end defvar
451
438 Here are some of the standard minibuffer history list variables: 452 Here are some of the standard minibuffer history list variables:
439 453
440@defvar minibuffer-history 454@defvar minibuffer-history