]> code.delx.au - gnu-emacs/commitdiff
*** empty log message ***
authorKim F. Storm <storm@cua.dk>
Sun, 7 May 2006 20:57:58 +0000 (20:57 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 7 May 2006 20:57:58 +0000 (20:57 +0000)
etc/NEWS
lisp/ChangeLog
lispref/ChangeLog

index 1706528d6a6349c31bc68c4d9ac232fff1dc00e2..26a0d372e663cebcd0725d7bac65c65a59e19652 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3560,14 +3560,12 @@ 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.
 
+If `history-delete-duplicates' is non-nil, it removes duplicates of
+the new element from the history list it updates.
+
 +++
 *** New function `rassq-delete-all'.
 
index a068c47035d38afef4e67fa23b37275d4c35232c..4d6708c8a353ab7d576a5abf2aeedbfbd3a1f85d 100644 (file)
@@ -1,3 +1,10 @@
+2006-05-07  Kim F. Storm  <storm@cua.dk>
+
+       * subr.el (add-to-history): Remove keep-dups arg.
+
+       * kmacro.el (kmacro-push-ring): Let-bind history-delete-duplicates
+       to nil around call to add-to-history.
+
 2006-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/syntax.el (syntax-ppss): Flush the cache before rather
index 064c4f1bc5dd1e73598266ef0ce7084e7c780050..a3303d43c24e1c6612b5513b84ea9674413199a1 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-07  Kim F. Storm  <storm@cua.dk>
+
+       * minibuf.texi (Minibuffer History): Remove keep-dups arg
+       from add-to-history.
+
 2006-05-07  Romain Francoise  <romain@orebokech.com>
 
        * commands.texi (Event Input Misc):