# HG changeset patch # User Kim F. Storm # Date 1147035478 0 # Node ID 9e3f440412e8852167596738bcb1aa2d6e9cce03 # Parent 4b4be784a6c8a6d94261f02c8eaaf529e24ad018 *** empty log message *** diff -r 4b4be784a6c8 -r 9e3f440412e8 etc/NEWS --- 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'. diff -r 4b4be784a6c8 -r 9e3f440412e8 lisp/ChangeLog --- 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 + + * 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 -r 4b4be784a6c8 -r 9e3f440412e8 lispref/ChangeLog --- 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 + + * minibuf.texi (Minibuffer History): Remove keep-dups arg + from add-to-history. + 2006-05-07 Romain Francoise * commands.texi (Event Input Misc):