Fix custom-set-faces\! & custom-theme-set-faces\!

This commit is contained in:
Henrik Lissner 2021-05-08 02:32:09 -04:00
parent 5a9171ed5c
commit 1c549f21d6

View file

@ -29,7 +29,7 @@ all themes. It will apply to all themes once they are loaded."
(defun ,fn () (defun ,fn ()
(let (custom--inhibit-theme-enable) (let (custom--inhibit-theme-enable)
(dolist (theme (doom-enlist (or ,theme 'doom))) (dolist (theme (doom-enlist (or ,theme 'doom)))
(when (or (eq theme 'user) (when (or (memq theme '(user doom))
(custom-theme-enabled-p theme)) (custom-theme-enabled-p theme))
(apply #'custom-theme-set-faces theme (apply #'custom-theme-set-faces theme
(mapcan #'doom--custom-theme-set-face (mapcan #'doom--custom-theme-set-face