aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2006-05-07 20:52:05 +0000
committerKim F. Storm2006-05-07 20:52:05 +0000
commit8bcba30da6cd6ef103dfb6fc996844f177b661c3 (patch)
treee9d38e4250c06f49199ca44d6ba06f270e579c7b
parent549b93ddac9b2480eec05dca37304542ca9155d3 (diff)
downloademacs-8bcba30da6cd6ef103dfb6fc996844f177b661c3.tar.gz
emacs-8bcba30da6cd6ef103dfb6fc996844f177b661c3.zip
(Minibuffer History): Remove keep-dups arg
from add-to-history.
-rw-r--r--lispref/minibuf.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi
index f713f12cdbf..b5bcc3a77dc 100644
--- a/lispref/minibuf.texi
+++ b/lispref/minibuf.texi
@@ -449,7 +449,7 @@ list, put the length in the @code{history-length} property of the
449history list symbol. The variable @code{history-delete-duplicates} 449history list symbol. The variable @code{history-delete-duplicates}
450specifies whether to delete duplicates in history. 450specifies whether to delete duplicates in history.
451 451
452@defun add-to-history history-var newelt &optional maxelt keep-dups 452@defun add-to-history history-var newelt &optional maxelt
453This function adds a new element @var{newelt} to the history list 453This function adds a new element @var{newelt} to the history list
454stored in the variable @var{history-var}, and returns the updated 454stored in the variable @var{history-var}, and returns the updated
455history list. By default, the list length is limited by the value 455history list. By default, the list length is limited by the value
@@ -459,8 +459,7 @@ argument @var{maxelt} overrides that. The possible values of
459@code{history-length}. 459@code{history-length}.
460 460
461Duplicate members are removed from the history list, unless 461Duplicate members are removed from the history list, unless
462@code{history-delete-duplicates} is @code{nil} or the second optional 462@code{history-delete-duplicates} is @code{nil}.
463argument of this function @var{keep-dups} is non-@code{nil}.
464@end defun 463@end defun
465 464
466@defvar history-length 465@defvar history-length