mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-25 14:13:37 -05:00
lang/org: add eval handler
With this, gr and gR will now work in babel blocks to execute a subset of the block (or the whole thing, if you'd like). Results are displayed in a popup buffer (or overlay if :tools (eval +overlay) is enabled).
This commit is contained in:
@@ -468,14 +468,6 @@ All my (performant) foldings needs are met between this and `org-show-subtree'
|
||||
(org-cycle-internal-local)
|
||||
t)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +org-clear-babel-results-h ()
|
||||
"Remove the results block for the org babel block at point."
|
||||
(when (and (org-in-src-block-p t)
|
||||
(org-babel-where-is-src-block-result))
|
||||
(org-babel-remove-result)
|
||||
t))
|
||||
|
||||
;;;###autoload
|
||||
(defun +org-make-last-point-visible-h ()
|
||||
"Unfold subtree around point if saveplace places us in a folded region."
|
||||
|
Reference in New Issue
Block a user