changeset 26583:3251a6750150

(custom-declare-face): Purecopy DOC.
author Dave Love <fx@gnu.org>
date Wed, 24 Nov 1999 20:35:54 +0000
parents fbd1f4d3000d
children 7547a144b80a
files lisp/cus-face.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cus-face.el	Wed Nov 24 20:29:55 1999 +0000
+++ b/lisp/cus-face.el	Wed Nov 24 20:35:54 1999 +0000
@@ -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)