summaryrefslogtreecommitdiff
path: root/lisp/cus-theme.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cus-theme.el')
-rw-r--r--lisp/cus-theme.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/cus-theme.el b/lisp/cus-theme.el
index 95a0a4b2896..43cf96e34fa 100644
--- a/lisp/cus-theme.el
+++ b/lisp/cus-theme.el
@@ -168,8 +168,9 @@ It includes all faces in list FACES."
(princ " '(")
(prin1 symbol)
(princ " ")
- (prin1 (or (get symbol 'customized-face)
- (get symbol 'face-defface-spec)))
+ (prin1 (list (append '(t)
+ (custom-face-attributes-get
+ 'font-lock-comment-face nil))))
(princ ")")))
faces)
(if (bolp)