mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
Fix custom-set-faces\! & custom-theme-set-faces\!
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user