doomemacs/modules/lang/org/autoload/babel.el

11 lines
381 B
EmacsLisp
Raw Normal View History

;;; lang/org/autoload/babel.el -*- lexical-binding: t; -*-
2017-05-19 03:29:00 +02:00
;;;###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 'solaire-mode)
(solaire-mode +1))))