(custom-declare-face): Purecopy DOC.
authorDave Love <fx@gnu.org>
Wed, 24 Nov 1999 20:35:54 +0000 (20:35 +0000)
committerDave Love <fx@gnu.org>
Wed, 24 Nov 1999 20:35:54 +0000 (20:35 +0000)
lisp/cus-face.el

index 2b32ce3..b465aad 100644 (file)
@@ -56,7 +56,7 @@
        (if (memq window-system '(x w32))
            (make-face-x-resource-internal face))))
     (when (and doc (null (face-documentation face)))
-      (set-face-documentation face doc))
+      (set-face-documentation face (purecopy doc)))
     (custom-handle-all-keywords face args 'custom-face)
     (run-hooks 'custom-define-hook))
   face)