mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 20:32:53 +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:
parent
1f86003a5d
commit
4a751709b5
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue