aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-12-16 19:41:04 +0000
committerDave Love1999-12-16 19:41:04 +0000
commit291cfb968c59e55375fcca86de3811ff4ae3f759 (patch)
tree7f8db4ca001035761baa80d5a53100c23a429176
parentd20f4d98130e208e1beb12d9bc86ee3b59304e07 (diff)
downloademacs-291cfb968c59e55375fcca86de3811ff4ae3f759.tar.gz
emacs-291cfb968c59e55375fcca86de3811ff4ae3f759.zip
(set-face-attribute): Purecopy the attributes set.
-rw-r--r--lisp/faces.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index f4e071222d3..de5a7dcd1e4 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -408,7 +408,7 @@ Use `face-attribute' for finer control."
408 408
409(defun set-face-documentation (face string) 409(defun set-face-documentation (face string)
410 "Set the documentation string for FACE to STRING." 410 "Set the documentation string for FACE to STRING."
411 ;; The text doesn't get into DOC. 411 ;; Perhaps the text should go in DOC.
412 (put face 'face-documentation (purecopy string))) 412 (put face 'face-documentation (purecopy string)))
413 413
414 414
@@ -545,7 +545,8 @@ must be t or nil in that case. A value of `unspecified' is not allowed."
545 (t 545 (t
546 (while args 546 (while args
547 (internal-set-lisp-face-attribute face (car args) 547 (internal-set-lisp-face-attribute face (car args)
548 (car (cdr args)) frame) 548 (purecopy (cadr args))
549 frame)
549 (setq args (cdr (cdr args))))))) 550 (setq args (cdr (cdr args)))))))
550 551
551 552