0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 22:46:26 +00:00

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

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)
(with-current-buffer error-buffer (erase-buffer))
(with-temp-buffer
(insert query)
(insert query "\n")
(setq exit-code
(org-babel--shell-command-on-region
command error-buffer))