Alex Bennée <alex.ben...@linaro.org> writes: > So more correctly when org-confirm-babel-evaluate is set it breaks due > to info not containing a character position for the TBLFM code. I fixed > this by patching org-babel-check-confirm-evaluate: > > modified lisp/ob-core.el > @@ -242,7 +242,8 @@ should be asked whether to allow evaluation." > (and export (equal eval "query-export")) > (if (functionp org-confirm-babel-evaluate) > (save-excursion > - (goto-char (nth 5 info)) > + (when (nth 5 info) > + (goto-char (nth 5 info))) > (funcall org-confirm-babel-evaluate > ;; language, code block body > (nth 0 info) (nth 1 info))) > > I'm not sure the goto-char is legitimate anyway as the documentation for > org-confirm-babel-evaluate says nothing about point being set while it > executes.
I agree and removed `goto-char'. Thank you for the analysis and the patch. Regards,