summaryrefslogtreecommitdiff
path: root/lispref/minibuf.texi
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2006-05-31 22:02:33 +0000
committerJuri Linkov <juri@jurta.org>2006-05-31 22:02:33 +0000
commita8ccd062c46e6a23555422f27d0bb9102f354619 (patch)
tree45edb41d072b5071278a248321d2dec81e5d2c8d /lispref/minibuf.texi
parent179a4ca7f903042317f9ea514d6647bcdd74a568 (diff)
downloademacs-a8ccd062c46e6a23555422f27d0bb9102f354619.tar.gz
(Minibuffer History): Add history-add-new-input.
Diffstat (limited to 'lispref/minibuf.texi')
-rw-r--r--lispref/minibuf.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi
index 2fca6cc04b8..0409796a882 100644
--- a/lispref/minibuf.texi
+++ b/lispref/minibuf.texi
@@ -460,6 +460,12 @@ However, if @var{keep-all} is non-@code{nil}, that says not to remove
duplicates, and to add @var{newelt} to the list even if it is empty.
@end defun
+@defvar history-add-new-input
+The value of this variable @code{nil} means that standard functions
+that read from the minibuffer don't add new elements to the history
+list, so it is possible to do this explicitly by using @code{add-to-history}.
+@end defvar
+
@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