branch: elpa/geiser-racket
commit cb2287bf5c0fd092bd205965eaea1552ade4ba6c
Author: Jose Antonio Ortega Ruiz <[email protected]>
Commit: Jose Antonio Ortega Ruiz <[email protected]>
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)