diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2017-07-22 11:34:55 +0300 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2017-07-22 11:34:55 +0300 |
| commit | 6ec43f8ddb54f96d4721c642396a4a9148719915 (patch) | |
| tree | 908298337ccbbc6f2b406a448fb926a8be7ae657 /lisp/subr.el | |
| parent | 45c2544c347bbc239d04c9a276ee1988ebbc1a7c (diff) | |
| download | emacs-6ec43f8ddb54f96d4721c642396a4a9148719915.tar.gz | |
* lisp/subr.el (add-to-history): Doc fix. (Bug#27494)
Diffstat (limited to 'lisp/subr.el')
| -rw-r--r-- | lisp/subr.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index d9d918ed12d..79a28d301e7 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1789,7 +1789,8 @@ Return the new history list. If MAXELT is non-nil, it specifies the maximum length of the history. Otherwise, the maximum history length is the value of the `history-length' property on symbol HISTORY-VAR, if set, or the value of the `history-length' -variable. +variable. The possible values of maximum length have the same meaning as +the values of `history-length'. Remove duplicates of NEWELT if `history-delete-duplicates' is non-nil. If optional fourth arg KEEP-ALL is non-nil, add NEWELT to history even if it is empty or a duplicate." |
