emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 4a751709b5 2/2: lisp/ob-eval.el: Append newline to


From: ELPA Syncer
Subject: [elpa] externals/org 4a751709b5 2/2: lisp/ob-eval.el: Append newline to source block query
Date: Mon, 30 Jan 2023 12:57:58 -0500 (EST)

branch: externals/org
commit 4a751709b53b0d0749ae90d209f1ba9021f06fea
Author: Matthew Trzcinski <matt@excalamus.com>
Commit: Matthew Trzcinski <matt@excalamus.com>

    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/
---
 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 b9d1f7f230..405d6b36ad 100644
--- a/lisp/ob-eval.el
+++ b/lisp/ob-eval.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]