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))))
|
||||
(name (if on-lob-line
|
||||
(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)))
|
||||
found beg end)
|
||||
(when head (goto-char head))
|
||||
|
|
Loading…
Reference in New Issue