]> git.eshelyaron.com Git - emacs.git/commitdiff
(Minibuffer History): Add history-add-new-input.
authorJuri Linkov <juri@jurta.org>
Wed, 31 May 2006 22:02:33 +0000 (22:02 +0000)
committerJuri Linkov <juri@jurta.org>
Wed, 31 May 2006 22:02:33 +0000 (22:02 +0000)
lispref/minibuf.texi

index 2fca6cc04b8aa60ea4a438088bdf14e9a9817e8b..0409796a8825b1ea286753ff1434d6251ea5c0de 100644 (file)
@@ -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