General minor refactor & comment revision

This commit is contained in:
Henrik Lissner 2018-01-06 03:03:02 -05:00
parent b17cafc4f7
commit b28f6ed477
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 9 additions and 22 deletions

View file

@ -1,13 +0,0 @@
;;; 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))))