diff options
author | Eli Zaretskii <eliz@gnu.org> | 2006-05-06 07:54:37 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2006-05-06 07:54:37 +0000 |
commit | 7cb0aae4e1fab72548fbccc26c00e84317f2ad40 (patch) | |
tree | 4a9074c63bbd5af0813ed710c34ec20fb9601ac9 | |
parent | 321eb4b29a0cd5899f0ff7633f86935e9167175f (diff) | |
download | emacs-7cb0aae4e1fab72548fbccc26c00e84317f2ad40.tar.gz |
Document add-to-history.
-rw-r--r-- | etc/NEWS | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -3558,6 +3558,17 @@ 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 +removed. + +Lisp packages should use this function to add elements to their +history lists. + ++++ *** New function `rassq-delete-all'. (rassq-delete-all VALUE ALIST) deletes, from ALIST, each element whose |