diff lisp/obsolete.el @ 5229:7d06a8bf47d2

Move #'purecopy from alloc.c to being an obsolete alias for #'identity lisp/ChangeLog addition: 2010-06-08 Aidan Kehoe <kehoea@parhasard.net> * paragraphs.el (sentence-end): * gtk-faces.el: * custom.el (custom-declare-variable): Remove all core code calls to #'purecopy. * obsolete.el (purecopy): Make the function itself an obsolete alias to #'identity. src/ChangeLog addition: 2010-06-08 Aidan Kehoe <kehoea@parhasard.net> * alloc.c (Fpurecopy): Moved to obsolete.el as an alias for #'identity, marked obsolete.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 08 Jun 2010 15:58:47 +0100
parents 9fa29ec759e3
children b5611afbcc76
line wrap: on
line diff
--- a/lisp/obsolete.el	Mon Jun 07 18:42:10 2010 +0100
+++ b/lisp/obsolete.el	Tue Jun 08 15:58:47 2010 +0100
@@ -425,6 +425,8 @@
 ;; Keywords already do The Right Thing in XEmacs
 (make-compatible 'define-widget-keywords "Just use them")
 
+(define-function 'purecopy 'identity)
+(make-obsolete 'purecopy "purespace is not available in XEmacs.")
 
 (provide 'obsolete)
 ;;; obsolete.el ends here