mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-13 01:10:04 +00:00
Don't require full variable resolution when finding results
* lisp/ob.el (org-babel-where-is-src-block-result): Don't try to resolve variables when simply checking if we're inside of a code block.
This commit is contained in:
parent
63faebd64b
commit
21fd1523be
|
@ -1387,7 +1387,7 @@ following the source block."
|
||||||
(match-end 0))))
|
(match-end 0))))
|
||||||
(name (if on-lob-line
|
(name (if on-lob-line
|
||||||
(nth 0 (org-babel-lob-get-info))
|
(nth 0 (org-babel-lob-get-info))
|
||||||
(nth 4 (or info (org-babel-get-src-block-info)))))
|
(nth 4 (or info (org-babel-get-src-block-info 'light)))))
|
||||||
(head (unless on-lob-line (org-babel-where-is-src-block-head)))
|
(head (unless on-lob-line (org-babel-where-is-src-block-head)))
|
||||||
found beg end)
|
found beg end)
|
||||||
(when head (goto-char head))
|
(when head (goto-char head))
|
||||||
|
|
Loading…
Reference in a new issue