mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
ui/doom: centralize doom-buffer-mode activation
This commit is contained in:
@@ -301,4 +301,6 @@ re-align the table if necessary. (Necessary because org-mode has a
|
||||
(interactive)
|
||||
(let ((shackle-rules '(("^\\*Org Src" :align t :select t :regexp t :noesc t :same t))))
|
||||
(call-interactively 'org-edit-special)
|
||||
(doom-buffer-mode +1)))
|
||||
;; FIXME too tightly coupled with doom-buffer-mode
|
||||
(when (fboundp 'doom-buffer-mode)
|
||||
(doom-buffer-mode +1))))
|
||||
|
Reference in New Issue
Block a user