Mercurial > emacs
changeset 70514:4b4be784a6c8
(Minibuffer History): Remove keep-dups arg
from add-to-history.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 07 May 2006 20:52:05 +0000 |
parents | 111b83914201 |
children | 9e3f440412e8 |
files | lispref/minibuf.texi |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/minibuf.texi Sun May 07 20:49:16 2006 +0000 +++ b/lispref/minibuf.texi Sun May 07 20:52:05 2006 +0000 @@ -449,7 +449,7 @@ 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 @@ @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