Commit 7cb0aae4 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Document add-to-history.

parent 321eb4b2
......@@ -3557,6 +3557,17 @@ It modifies the list destructively, like `delete'. Of several `equal'
occurrences of an element in the list, the one that's kept is the
first one.
*** New function `add-to-history' adds an element to a history list.
By default it removes duplicate elements from the history list it
updates, but if `history-delete-duplicates' is nil or the function's
optional argument KEEP-DUPS is non-nil, duplicate elements are not
Lisp packages should use this function to add elements to their
history lists.
*** New function `rassq-delete-all'.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment