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

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

[nongnu] elpa/geiser-racket cb2287b 035/191: Racket: using meta-commands


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-racket cb2287b 035/191: Racket: using meta-commands instead of dynamic-require (#30347)
Date: Sun, 1 Aug 2021 18:31:55 -0400 (EDT)

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

    Racket: using meta-commands instead of dynamic-require (#30347)
    
    - Much more robust: dynamic-require might not have been defined in the
      REPL's namespace.
    - Fixes #30347 as a side-effect: now all Geiser functions work with
      typed scheme too.
---
 geiser/eval.rkt | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/geiser/eval.rkt b/geiser/eval.rkt
index f2cf39f..4e7f3db 100644
--- a/geiser/eval.rkt
+++ b/geiser/eval.rkt
@@ -63,10 +63,8 @@
 (define compile-in eval-in)
 
 (define (load-file file)
-  (call-with-result
-   (lambda ()
-     (load-module file (current-output-port) (last-namespace))
-     (update-signature-cache file))))
+  (load-module file (current-output-port) (last-namespace))
+  (update-signature-cache file))
 
 (define compile-file load-file)
 



reply via email to

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