summaryrefslogtreecommitdiff
path: root/scheme
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-30 05:02:43 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-30 05:02:43 +0200
commit19adb11523a6a1b87ae8dda7c1734db3ca476ddc (patch)
tree09a009437fc75863427b6f7f31662592468210ed /scheme
parent25efa35db669a3994fc1a4df7462633adfb6941d (diff)
downloadgeiser-guile-19adb11523a6a1b87ae8dda7c1734db3ca476ddc.tar.gz
geiser-guile-19adb11523a6a1b87ae8dda7c1734db3ca476ddc.tar.bz2
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.
Diffstat (limited to 'scheme')
-rw-r--r--scheme/racket/geiser/eval.rkt6
1 files changed, 2 insertions, 4 deletions
diff --git a/scheme/racket/geiser/eval.rkt b/scheme/racket/geiser/eval.rkt
index f2cf39f..4e7f3db 100644
--- a/scheme/racket/geiser/eval.rkt
+++ b/scheme/racket/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)