Files
doomemacs/modules/lang/org/autoload/babel.el
2017-06-10 01:52:44 +02:00

11 lines
389 B
EmacsLisp

;;; lang/org/autoload/babel.el -*- lexical-binding: t; -*-
;;;###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))))