mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix custom-theme-set-faces!
The body was still quoted from when it was a macro.
This commit is contained in:
@ -3,8 +3,9 @@
|
||||
(defun doom--custom-theme-set-face (spec)
|
||||
(cond ((listp (car spec))
|
||||
(cl-loop for face in (car spec)
|
||||
collect `(,face ,(cdr spec))))
|
||||
((keywordp (car spec))
|
||||
collect
|
||||
(doom--custom-theme-set-face `(,face ,(cdr spec)))))
|
||||
((keywordp (cadr spec))
|
||||
`((,(car spec) ((t ,(cdr spec))))))
|
||||
(`((,(car spec) ,(cdr spec))))))
|
||||
|
||||
@ -22,7 +23,7 @@ all themes. It will apply to all themes once they are loaded.
|
||||
'(org-tag :background \"#4499FF\")
|
||||
'(org-ellipsis :inherit org-tag)
|
||||
'(which-key-docstring-face :inherit font-lock-comment-face))"
|
||||
`(let* ((themes (doom-enlist (or theme 'user)))
|
||||
(let* ((themes (doom-enlist (or theme 'user)))
|
||||
(fn (gensym (format "doom--customize-%s-h-" (mapconcat #'symbol-name themes "-")))))
|
||||
(fset fn
|
||||
(lambda ()
|
||||
|
Reference in New Issue
Block a user