summaryrefslogtreecommitdiff
path: root/scheme/racket/geiser/user.rkt
diff options
context:
space:
mode:
Diffstat (limited to 'scheme/racket/geiser/user.rkt')
-rw-r--r--scheme/racket/geiser/user.rkt10
1 files changed, 5 insertions, 5 deletions
diff --git a/scheme/racket/geiser/user.rkt b/scheme/racket/geiser/user.rkt
index e379946..4508468 100644
--- a/scheme/racket/geiser/user.rkt
+++ b/scheme/racket/geiser/user.rkt
@@ -24,15 +24,15 @@
(define top-namespace (current-namespace))
(define (enter! mod stx)
- (cond ((not mod) (current-namespace top-namespace))
- ((module-path? mod)
+ (cond [(not mod) (current-namespace top-namespace)]
+ [(module-path? mod)
(enter-module mod)
- (current-namespace (module->namespace mod)))
- (else (raise-syntax-error
+ (current-namespace (module->namespace mod))]
+ [else (raise-syntax-error
#f
"not a valid module path, and not #f"
stx
- mod))))
+ mod)]))
(define orig-loader (current-load/use-compiled))
(define geiser-loader (module-loader orig-loader))