emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/minibuf.texi


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/lispref/minibuf.texi
Date: Tue, 16 May 2006 10:52:14 +0000

Index: emacs/lispref/minibuf.texi
diff -u emacs/lispref/minibuf.texi:1.80 emacs/lispref/minibuf.texi:1.81
--- emacs/lispref/minibuf.texi:1.80     Sun May  7 20:52:05 2006
+++ emacs/lispref/minibuf.texi  Tue May 16 10:52:14 2006
@@ -449,17 +449,20 @@
 history list symbol.  The variable @code{history-delete-duplicates}
 specifies whether to delete duplicates in history.
 
address@hidden add-to-history history-var newelt &optional maxelt
-This function adds a new element @var{newelt} to the history list
-stored in the variable @var{history-var}, and returns the updated
-history list.  By default, the list length is limited by the value
-specified by @code{history-length} (described below), but the optional
-argument @var{maxelt} overrides that.  The possible values of
address@hidden add-to-history history-var newelt &optional maxelt keep-all
+This function adds a new element @var{newelt}, if non-empty, to the
+history list stored in the variable @var{history-var}, and returns the
+updated history list.  By default, the list length is limited by the
+value specified by @code{history-length} (described below), but the
+optional argument @var{maxelt} overrides that.  The possible values of
 @var{maxelt} have the same meaning as the values of
 @code{history-length}.
 
-Duplicate members are removed from the history list, unless
address@hidden is @code{nil}.
+Duplicate members are removed from the history list, if
address@hidden is address@hidden
+
+If @var{keep-all} is address@hidden, even an empty or duplicate
address@hidden element is added to the history list.
 @end defun
 
 @defvar history-length




reply via email to

[Prev in Thread] Current Thread [Next in Thread]