lang/org: add +org/edit-special-same-window

This commit is contained in:
Henrik Lissner 2017-04-11 08:29:09 -04:00
parent 8dc9c46064
commit 68e5140d4a
2 changed files with 7 additions and 0 deletions

View file

@ -292,3 +292,9 @@ re-align the table if necessary. (Necessary because org-mode has a
(org-shiftmetadown)
(org-shiftmetaup)))
;;;###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)
(doom-buffer-mode +1)))