emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/etc/NEWS


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/etc/NEWS
Date: Sat, 06 May 2006 07:54:37 +0000

Index: emacs/etc/NEWS
diff -u emacs/etc/NEWS:1.1337 emacs/etc/NEWS:1.1338
--- emacs/etc/NEWS:1.1337       Tue May  2 01:47:57 2006
+++ emacs/etc/NEWS      Sat May  6 07:54:37 2006
@@ -3558,6 +3558,17 @@
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]