diff lisp/custom.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 17f7e9191c0b
children d27c1ee1943b 308d34e9f07d
line wrap: on
line diff
--- a/lisp/custom.el	Mon Jun 07 18:42:10 2010 +0100
+++ b/lisp/custom.el	Tue Jun 08 15:58:47 2010 +0100
@@ -183,7 +183,7 @@
 		((eq keyword :require)
 		 (push value requests))
 		((eq keyword :type)
-		 (put symbol 'custom-type (purecopy value)))
+		 (put symbol 'custom-type value))
 		((eq keyword :options)
 		 (if (get symbol 'custom-options)
 		     ;; Slow safe code to avoid duplicates.