summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-07-22 11:34:55 +0300
committerEli Zaretskii <eliz@gnu.org>2017-07-22 11:34:55 +0300
commit6ec43f8ddb54f96d4721c642396a4a9148719915 (patch)
tree908298337ccbbc6f2b406a448fb926a8be7ae657 /lisp/subr.el
parent45c2544c347bbc239d04c9a276ee1988ebbc1a7c (diff)
downloademacs-6ec43f8ddb54f96d4721c642396a4a9148719915.tar.gz
* lisp/subr.el (add-to-history): Doc fix. (Bug#27494)
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el3
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."