branch: externals/org commit 4846c7fa398d8426f3336cd2c98e5b3b31b3ad30 Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
org-babel-map-call-lines: Fix typo * lisp/ob-core.el (org-babel-map-call-lines): Fix incorrect variable reference revealed by compiler warning. --- lisp/ob-core.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 2f66ab17df..10992d61dd 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -1408,8 +1408,8 @@ buffer." (while (re-search-forward "call_\\S-\\|^[ \t]*#\\+CALL:" nil t) (let ((,datum (org-element-context))) (when (org-element-type-p ,datum '(babel-call inline-babel-call)) - (goto-char (or (org-element-post-affiliated datum) - (org-element-begin datum))) + (goto-char (or (org-element-post-affiliated ,datum) + (org-element-begin ,datum))) (let ((,end (copy-marker (org-element-end ,datum)))) ,@body (goto-char ,end)