org-babel-eval: Clarify the purpose of 4a751709b in code

* lisp/ob-eval.el (org-babel-eval): Add comment.
This commit is contained in:
Ihor Radchenko 2023-02-01 15:03:50 +03:00
parent 9a00f6cd78
commit b4a1133a18
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ Writes QUERY into a temp-buffer that is processed with
(let ((error-buffer (get-buffer-create " *Org-Babel Error*")) exit-code)
(with-current-buffer error-buffer (erase-buffer))
(with-temp-buffer
;; Ensure trailing newline. It is required for cmdproxy.exe.
(insert query "\n")
(setq exit-code
(org-babel--shell-command-on-region