Minor refactors & comment revision

This commit is contained in:
Henrik Lissner 2019-05-13 14:37:00 -04:00
parent 646cba3f68
commit 7443669b1e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 16 additions and 14 deletions

View file

@ -504,7 +504,8 @@ Fonts are specified by `doom-font', `doom-variable-pitch-font',
(add-hook 'doom-init-ui-hook #'doom|init-theme))
;; Apply `doom-font' et co
(add-hook 'doom-after-init-modules-hook #'doom|init-fonts)
;; Setup `doom-load-theme-hook'
;; Setup `doom-load-theme-hook' and ensure `doom-theme' is always set to the
;; currently loaded theme
(advice-add #'load-theme :after #'doom*run-load-theme-hooks)
(add-hook 'window-setup-hook #'doom|init-ui)