changeset 70515:9e3f440412e8

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Sun, 07 May 2006 20:57:58 +0000
parents 4b4be784a6c8
children 767616c80562
files etc/NEWS lisp/ChangeLog lispref/ChangeLog
diffstat 3 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Sun May 07 20:52:05 2006 +0000
+++ b/etc/NEWS	Sun May 07 20:57:58 2006 +0000
@@ -3560,14 +3560,12 @@
 +++
 *** 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'.
 
--- a/lisp/ChangeLog	Sun May 07 20:52:05 2006 +0000
+++ b/lisp/ChangeLog	Sun May 07 20:57:58 2006 +0000
@@ -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
--- a/lispref/ChangeLog	Sun May 07 20:52:05 2006 +0000
+++ b/lispref/ChangeLog	Sun May 07 20:57:58 2006 +0000
@@ -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):