From b9da309d6bbcee2d5712a6bcddfac0047bf77205 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 22 Mar 2018 19:27:17 -0400 Subject: [PATCH] ui/doom: fix solaire not resetting post-load-theme --- modules/ui/doom/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.