summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-05-07 20:57:58 +0000
committerKim F. Storm <storm@cua.dk>2006-05-07 20:57:58 +0000
commited7e6c32a8c9a60540578634e35949d22e426bc8 (patch)
treebb25b72c8eedbd9faa447e94fe9853a1f097845c
parent8bcba30da6cd6ef103dfb6fc996844f177b661c3 (diff)
downloademacs-ed7e6c32a8c9a60540578634e35949d22e426bc8.tar.gz
emacs-ed7e6c32a8c9a60540578634e35949d22e426bc8.tar.bz2
emacs-ed7e6c32a8c9a60540578634e35949d22e426bc8.zip
*** empty log message ***
-rw-r--r--etc/NEWS8
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lispref/ChangeLog5
3 files changed, 15 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 1706528d6a6..26a0d372e66 100644
--- 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'.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a068c47035d..4d6708c8a35 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 064c4f1bc5d..a3303d43c24 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -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):