From: Eli Zaretskii Date: Sat, 22 Jul 2017 08:34:55 +0000 (+0300) Subject: * lisp/subr.el (add-to-history): Doc fix. (Bug#27494) X-Git-Tag: emacs-26.0.90~518^2~31 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6ec43f8ddb54f96d4721c642396a4a9148719915;p=emacs.git * lisp/subr.el (add-to-history): Doc fix. (Bug#27494) --- 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."