mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
lang/org: cleanup & refactor
This commit is contained in:
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))))
|
Reference in New Issue
Block a user