summaryrefslogtreecommitdiff
path: root/lispref/minibuf.texi
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-05-07 20:52:05 +0000
committerKim F. Storm <storm@cua.dk>2006-05-07 20:52:05 +0000
commit8bcba30da6cd6ef103dfb6fc996844f177b661c3 (patch)
treee9d38e4250c06f49199ca44d6ba06f270e579c7b /lispref/minibuf.texi
parent549b93ddac9b2480eec05dca37304542ca9155d3 (diff)
downloademacs-8bcba30da6cd6ef103dfb6fc996844f177b661c3.tar.gz
(Minibuffer History): Remove keep-dups arg
from add-to-history.
Diffstat (limited to 'lispref/minibuf.texi')
-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
history list symbol. The variable @code{history-delete-duplicates}
specifies whether to delete duplicates in history.
-@defun add-to-history history-var newelt &optional maxelt keep-dups
+@defun 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
@@ -459,8 +459,7 @@ argument @var{maxelt} overrides that. The possible values of
@code{history-length}.
Duplicate members are removed from the history list, unless
-@code{history-delete-duplicates} is @code{nil} or the second optional
-argument of this function @var{keep-dups} is non-@code{nil}.
+@code{history-delete-duplicates} is @code{nil}.
@end defun
@defvar history-length