Mercurial > hg > xemacs-beta
diff lisp/obsolete.el @ 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 | 10f179710250 |
children | cc6f0266bc36 |
line wrap: on
line diff
--- 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