diff options
| author | Kim F. Storm | 2006-05-07 20:52:05 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-05-07 20:52:05 +0000 |
| commit | 8bcba30da6cd6ef103dfb6fc996844f177b661c3 (patch) | |
| tree | e9d38e4250c06f49199ca44d6ba06f270e579c7b | |
| parent | 549b93ddac9b2480eec05dca37304542ca9155d3 (diff) | |
| download | emacs-8bcba30da6cd6ef103dfb6fc996844f177b661c3.tar.gz emacs-8bcba30da6cd6ef103dfb6fc996844f177b661c3.zip | |
(Minibuffer History): Remove keep-dups arg
from add-to-history.
| -rw-r--r-- | lispref/minibuf.texi | 5 |
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 | |||
| 449 | history list symbol. The variable @code{history-delete-duplicates} | 449 | history list symbol. The variable @code{history-delete-duplicates} |
| 450 | specifies whether to delete duplicates in history. | 450 | specifies 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 |
| 453 | This function adds a new element @var{newelt} to the history list | 453 | This function adds a new element @var{newelt} to the history list |
| 454 | stored in the variable @var{history-var}, and returns the updated | 454 | stored in the variable @var{history-var}, and returns the updated |
| 455 | history list. By default, the list length is limited by the value | 455 | 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 | |||
| 459 | @code{history-length}. | 459 | @code{history-length}. |
| 460 | 460 | ||
| 461 | Duplicate members are removed from the history list, unless | 461 | Duplicate 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}. |
| 463 | argument 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 |