branch: externals-release/org
commit 81c03fb850e78c505d25e927241d3939974e7acf
Author: Matthew Trzcinski <m...@excalamus.com>
Commit: Ihor Radchenko <yanta...@posteo.net>

    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" <oshe...@gmail.com>
    Link: 
https://list.orgmode.org/orgmode/CAGsxwFZ88cybALCVGgma=5genmhua0rk6xnkbns_hdsmbgy...@mail.gmail.com/
---
 lisp/ob-eval.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ob-eval.el b/lisp/ob-eval.el
index 6f6edb949c..07e5307725 100644
--- a/lisp/ob-eval.el
+++ b/lisp/ob-eval.el
@@ -59,7 +59,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))

Reply via email to