lisp/ob-eval.el: Append newline to source block query

* lisp/ob-eval.el (org-babel-eval): Newline facilitates working with
Windows cmdproxy.exe.

Reported-by: "Osher Jacob" <osherz5@gmail.com>
Link: https://list.orgmode.org/orgmode/CAGsxwFZ88cybALCVGgma=5gENMhUa0Rk6xNkBNS_HdsmBgYe6w@mail.gmail.com/
This commit is contained in:
Matthew Trzcinski 2023-01-30 12:05:22 -05:00
parent 1f86003a5d
commit 4a751709b5
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ Writes QUERY into a temp-buffer that is processed with
(let ((error-buffer (get-buffer-create " *Org-Babel Error*")) exit-code) (let ((error-buffer (get-buffer-create " *Org-Babel Error*")) exit-code)
(with-current-buffer error-buffer (erase-buffer)) (with-current-buffer error-buffer (erase-buffer))
(with-temp-buffer (with-temp-buffer
(insert query) (insert query "\n")
(setq exit-code (setq exit-code
(org-babel--shell-command-on-region (org-babel--shell-command-on-region
command error-buffer)) command error-buffer))