mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/doom: turn-on-solaire-mode on org-capture-mode-hook
This commit is contained in:
@ -27,7 +27,11 @@
|
||||
:config
|
||||
(setq solaire-mode-real-buffer-fn #'doom-real-buffer-p)
|
||||
;; Prevent color glitches when reloading either DOOM or the theme
|
||||
(add-hook! '(doom-init-theme-hook doom-reload-hook) #'solaire-mode-reset))
|
||||
(add-hook! '(doom-init-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.
|
||||
(add-hook 'org-capture-mode-hook #'turn-on-solaire-mode))
|
||||
|
||||
|
||||
(after! hideshow
|
||||
|
Reference in New Issue
Block a user