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

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

[nongnu] elpa/geiser-guile 4c02219 227/284: Guile: capturing output to s


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-guile 4c02219 227/284: Guile: capturing output to standard error
Date: Sun, 1 Aug 2021 18:29:49 -0400 (EDT)

branch: elpa/geiser-guile
commit 4c022191fac48d9f5d96cfafeda6aba59da627de
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>

    Guile: capturing output to standard error
    
    We were just ignoring it so far!
---
 geiser/evaluation.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index e4cf4b5..5562382 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -60,7 +60,8 @@
                (lambda ()
                  (with-fluids ((*current-warning-port* (current-output-port))
                                (*current-warning-prefix* ""))
-                   (set! result (thunk)))))))
+                   (with-error-to-port (current-output-port)
+                     (lambda () (set! result (thunk)))))))))
     (write-result result output)))
 
 (define (ge:compile form module)



reply via email to

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