lang/org: cleanup & refactor
This commit is contained in:
parent
1f8c4ed383
commit
5add3c3805
8 changed files with 105 additions and 121 deletions
10
modules/lang/org/autoload/babel.el
Normal file
10
modules/lang/org/autoload/babel.el
Normal file
|
@ -0,0 +1,10 @@
|
|||
;;; lang/org/autoload/babel.el
|
||||
|
||||
;;;###autoload
|
||||
(defun +org/edit-special-same-window ()
|
||||
(interactive)
|
||||
(let ((shackle-rules '(("^\\*Org Src" :align t :select t :regexp t :noesc t :same t))))
|
||||
(call-interactively #'org-edit-special)
|
||||
;; FIXME too tightly coupled with doom-buffer-mode
|
||||
(when (fboundp 'doom-buffer-mode)
|
||||
(doom-buffer-mode +1))))
|
Loading…
Add table
Add a link
Reference in a new issue