ui/doom: turn-on-solaire-mode on org-capture-mode-hook
This commit is contained in:
parent
4ca2d1ef27
commit
bd6fb35007
1 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,11 @@
|
||||||
:config
|
:config
|
||||||
(setq solaire-mode-real-buffer-fn #'doom-real-buffer-p)
|
(setq solaire-mode-real-buffer-fn #'doom-real-buffer-p)
|
||||||
;; Prevent color glitches when reloading either DOOM or the theme
|
;; 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
|
(after! hideshow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue