From: Kim F. Storm Date: Sun, 7 May 2006 20:57:58 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-22.0.90~2687 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ed7e6c32a8c9a60540578634e35949d22e426bc8;p=emacs.git *** empty log message *** --- 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 + + * 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 * 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 + + * minibuf.texi (Minibuffer History): Remove keep-dups arg + from add-to-history. + 2006-05-07 Romain Francoise * commands.texi (Event Input Misc):