From: Juri Linkov Date: Wed, 31 May 2006 22:02:33 +0000 (+0000) Subject: (Minibuffer History): Add history-add-new-input. X-Git-Tag: emacs-pretest-22.0.90~2156 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a8ccd062c46e6a23555422f27d0bb9102f354619;p=emacs.git (Minibuffer History): Add history-add-new-input. --- 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