mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Move modules/org/* back to lang/org
This commit is contained in:
13
modules/lang/org/autoload/org-babel.el
Normal file
13
modules/lang/org/autoload/org-babel.el
Normal file
@ -0,0 +1,13 @@
|
||||
;;; lang/org/autoload/org-babel.el -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! +babel)
|
||||
|
||||
;;;###autoload
|
||||
(defun +org-babel/edit (arg)
|
||||
"Edit the source block at point in a popup.
|
||||
|
||||
If ARG is non-nil (universal argument), use the current window."
|
||||
(interactive "P")
|
||||
(if arg
|
||||
(call-interactively #'org-edit-special)
|
||||
(with-popup-rules! (("^\\*Org Src" :regexp t :select t :noesc t :same t))
|
||||
(call-interactively #'org-edit-special))))
|
Reference in New Issue
Block a user