aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-05-06 07:54:37 +0000
committerEli Zaretskii2006-05-06 07:54:37 +0000
commit7cb0aae4e1fab72548fbccc26c00e84317f2ad40 (patch)
tree4a9074c63bbd5af0813ed710c34ec20fb9601ac9
parent321eb4b29a0cd5899f0ff7633f86935e9167175f (diff)
downloademacs-7cb0aae4e1fab72548fbccc26c00e84317f2ad40.tar.gz
emacs-7cb0aae4e1fab72548fbccc26c00e84317f2ad40.zip
Document add-to-history.
-rw-r--r--etc/NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 378f715b286..2d6675b1e72 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3558,6 +3558,17 @@ occurrences of an element in the list, the one that's kept is the
3558first one. 3558first one.
3559 3559
3560+++ 3560+++
3561*** New function `add-to-history' adds an element to a history list.
3562
3563By default it removes duplicate elements from the history list it
3564updates, but if `history-delete-duplicates' is nil or the function's
3565optional argument KEEP-DUPS is non-nil, duplicate elements are not
3566removed.
3567
3568Lisp packages should use this function to add elements to their
3569history lists.
3570
3571+++
3561*** New function `rassq-delete-all'. 3572*** New function `rassq-delete-all'.
3562 3573
3563(rassq-delete-all VALUE ALIST) deletes, from ALIST, each element whose 3574(rassq-delete-all VALUE ALIST) deletes, from ALIST, each element whose