mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
ui/doom: centralize doom-buffer-mode activation
This commit is contained in:
@@ -71,8 +71,6 @@
|
||||
(add-hook! 'org-tree-slide-mode-hook
|
||||
(doom/window-zoom)
|
||||
(let ((arg (if org-tree-slide-mode +1 -1)))
|
||||
(when (featurep 'doom-themes)
|
||||
(doom-buffer-mode (* arg -1)))
|
||||
(centered-window-mode arg)
|
||||
(window-divider-mode (* arg -1))
|
||||
(doom-hide-modeline-mode arg)
|
||||
|
Reference in New Issue
Block a user