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: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lispref/minibuf.texi
Date: Sat, 06 May 2006 07:53:25 +0000

Index: emacs/lispref/minibuf.texi
diff -u emacs/lispref/minibuf.texi:1.77 emacs/lispref/minibuf.texi:1.78
--- emacs/lispref/minibuf.texi:1.77     Sun Feb 19 23:40:25 2006
+++ emacs/lispref/minibuf.texi  Sat May  6 07:53:25 2006
@@ -449,11 +449,27 @@
 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 keep-dups
+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 have the same meaning as the values of
address@hidden
+
+Duplicate members are removed from the history list, unless
address@hidden is @code{nil} or the second optional
+argument of this function @var{keep-dups} is address@hidden
address@hidden defun
+
 @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
 value is @code{t}, that means there no maximum (don't delete old
-elements).
+elements).  The value of @code{history-length} property of the history
+list variable's symbol, if set, overrides this variable for that
+particular history list.
 @end defvar
 
 @defvar history-delete-duplicates




reply via email to

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