diff --git a/modules/ui/doom/config.el b/modules/ui/doom/config.el index 084b583e1..fb14dd0b8 100644 --- a/modules/ui/doom/config.el +++ b/modules/ui/doom/config.el @@ -28,8 +28,8 @@ (setq solaire-mode-real-buffer-fn #'doom-real-buffer-p) ;; fringe can become unstyled when deleting or focusing frames (add-hook 'focus-in-hook #'solaire-mode-reset) - ;; Prevent color glitches when reloading either DOOM or the theme - (add-hook! '(doom-init-theme-hook doom-reload-hook) + ;; Prevent color glitches when reloading either DOOM or loading a new theme + (add-hook! :append '(doom-load-theme-hook doom-reload-hook) #'solaire-mode-reset) ;; org-capture takes an org buffer and narrows it. The result is erroneously ;; considered an unreal buffer, so solaire-mode must be restored.