From: Dave Love Date: Thu, 16 Dec 1999 19:41:04 +0000 (+0000) Subject: (set-face-attribute): Purecopy the attributes set. X-Git-Tag: emacs-pretest-21.0.90~5686 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=291cfb968c59e55375fcca86de3811ff4ae3f759;p=emacs.git (set-face-attribute): Purecopy the attributes set. --- 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." (defun set-face-documentation (face string) "Set the documentation string for FACE to STRING." - ;; The text doesn't get into DOC. + ;; Perhaps the text should go in DOC. (put face 'face-documentation (purecopy string))) @@ -545,7 +545,8 @@ must be t or nil in that case. A value of `unspecified' is not allowed." (t (while args (internal-set-lisp-face-attribute face (car args) - (car (cdr args)) frame) + (purecopy (cadr args)) + frame) (setq args (cdr (cdr args)))))))