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

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

[elpa] externals/org 2f4de60980 12/13: ob-emacs-lisp: Don't print argume


From: ELPA Syncer
Subject: [elpa] externals/org 2f4de60980 12/13: ob-emacs-lisp: Don't print arguments of post-process arguments to stdout
Date: Fri, 7 Oct 2022 01:57:51 -0400 (EDT)

branch: externals/org
commit 2f4de60980b6b10770696c4ee0b610d0e96ab575
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Ihor Radchenko <yantar92@gmail.com>

    ob-emacs-lisp: Don't print arguments of post-process arguments to stdout
    
    * lisp/ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Do not
    print post-processing argument.
    
    It is unclear whether the arguments were printed on purpose.  It might
    be useful to do so at times for debugging purposes, but generally they
    drown out other messages when a lot of post-processing is being done;
    making it harder to spot messages of interest that would otherwise
    allow noticing regressions.  This is particularly troublesome when
    running `org-babel-execute-buffer' from a Makefile or script.
---
 lisp/ob-emacs-lisp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ob-emacs-lisp.el b/lisp/ob-emacs-lisp.el
index bb311aa442..b8e6ef2985 100644
--- a/lisp/ob-emacs-lisp.el
+++ b/lisp/ob-emacs-lisp.el
@@ -58,7 +58,7 @@ by `org-edit-src-code'.")
       (format "(let (%s)\n%s\n)"
              (mapconcat
               (lambda (var)
-                (format "%S" (print `(,(car var) ',(cdr var)))))
+                (format "%S" `(,(car var) ',(cdr var))))
               vars "\n      ")
              body))))
 



reply via email to

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