inline sets org-babel-current-exec-src-block-head
* lisp/ob-lob.el (org-babel-lob-execute): Set the org-babel-current-exec-src-block-head variable when executing inline or lob style code.
This commit is contained in:
parent
d6a9f1aa29
commit
5dc5143578
|
@ -132,7 +132,8 @@ if so then run the appropriate source block from the Library."
|
|||
(cache-p (and (cdr (assoc :cache pre-params))
|
||||
(string= "yes" (cdr (assoc :cache pre-params)))))
|
||||
(new-hash (when cache-p (org-babel-sha1-hash pre-info)))
|
||||
(old-hash (when cache-p (org-babel-current-result-hash))))
|
||||
(old-hash (when cache-p (org-babel-current-result-hash)))
|
||||
(org-babel-current-exec-src-block-head (point-marker)))
|
||||
(if (and cache-p (equal new-hash old-hash))
|
||||
(save-excursion (goto-char (org-babel-where-is-src-block-result))
|
||||
(forward-line 1)
|
||||
|
|
Loading…
Reference in New Issue