Mercurial > hg > xemacs-beta
changeset 5635:2fc3f2f35523
Put back compatibility alias for #'cl-puthash, used by 21.4's setf expansion
2012-01-02 Aidan Kehoe <kehoea@parhasard.net>
* obsolete.el (cl-puthash): Put back a compatibility alias for
this, setf-expansion of #'gethash calls it on 21.4, so it will
occur in packages for a while to come.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 02 Jan 2012 13:35:31 +0000 |
parents | 2014ff433daf |
children | 07256dcc0c8b a366601407c2 |
files | lisp/ChangeLog lisp/obsolete.el |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sun Jan 01 15:18:52 2012 +0000 +++ b/lisp/ChangeLog Mon Jan 02 13:35:31 2012 +0000 @@ -1,3 +1,9 @@ +2012-01-02 Aidan Kehoe <kehoea@parhasard.net> + + * obsolete.el (cl-puthash): Put back a compatibility alias for + this, setf-expansion of #'gethash calls it on 21.4, so it will + occur in packages for a while to come. + 2011-12-30 Aidan Kehoe <kehoea@parhasard.net> * subr.el (copy-symbol): Don't error with a non-list plist, as
--- a/lisp/obsolete.el Sun Jan 01 15:18:52 2012 +0000 +++ b/lisp/obsolete.el Mon Jan 02 13:35:31 2012 +0000 @@ -257,6 +257,10 @@ (make-obsolete 'cl-delete-duplicates 'delete-duplicates) +;; This occurs because of setf expansion by 21.4, changing the affected +;; packages won't fix that. +(define-obsolete-function-alias 'cl-puthash 'puthash) + ; old names (define-compatible-function-alias 'byte-code-function-p 'compiled-function-p) ;FSFmacs