ui/doom: centralize doom-buffer-mode activation

This commit is contained in:
Henrik Lissner 2017-05-16 11:39:03 +02:00
parent 4ede35129d
commit d8e3d853a9
8 changed files with 12 additions and 21 deletions

View file

@ -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))))