changeset 71121:f9586be49e8e

(Minibuffer History): Add history-add-new-input.
author Juri Linkov <juri@jurta.org>
date Wed, 31 May 2006 22:02:33 +0000
parents 3c66cf4b4ded
children b4a686e88672
files lispref/minibuf.texi
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/minibuf.texi	Wed May 31 21:11:07 2006 +0000
+++ b/lispref/minibuf.texi	Wed May 31 22:02:33 2006 +0000
@@ -460,6 +460,12 @@
 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