diff options
Diffstat (limited to 'geiser')
-rw-r--r-- | geiser/evaluation.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm index c2147a1..cbc088e 100644 --- a/geiser/evaluation.scm +++ b/geiser/evaluation.scm @@ -56,14 +56,15 @@ (error #f) (ev (lambda () (save-module-excursion - (set-current-module module) - (set! result (call-with-values - (lambda () (compile form)) - (lambda vs - (map (lambda (v) - (with-output-to-string - (lambda () (write v)))) - vs)))))))) + (lambda () + (set-current-module module) + (set! result (call-with-values + (lambda () (compile form)) + (lambda vs + (map (lambda (v) + (with-output-to-string + (lambda () (write v)))) + vs))))))))) (let ((output (with-output-to-string (lambda () |