Fix custom-set-theme-faces! applying only to 'user

This commit is contained in:
Henrik Lissner 2019-11-22 13:13:00 -05:00
parent aa19eeed0f
commit fcbd91fc0d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -22,7 +22,7 @@ all themes. It will apply to all themes once they are loaded."
(dolist (theme (doom-enlist (or ,theme 'user)))
(when (or (eq theme 'user)
(custom-theme-enabled-p theme))
(apply #'custom-theme-set-faces 'user
(apply #'custom-theme-set-faces theme
(mapcan #'doom--custom-theme-set-face
(list ,@specs)))))))
(when (or doom-init-theme-p (null doom-theme))