summaryrefslogtreecommitdiff
path: root/scheme/racket/geiser/enter.rkt
diff options
context:
space:
mode:
Diffstat (limited to 'scheme/racket/geiser/enter.rkt')
-rw-r--r--scheme/racket/geiser/enter.rkt4
1 files changed, 2 insertions, 2 deletions
diff --git a/scheme/racket/geiser/enter.rkt b/scheme/racket/geiser/enter.rkt
index 181c06a..9705ec3 100644
--- a/scheme/racket/geiser/enter.rkt
+++ b/scheme/racket/geiser/enter.rkt
@@ -21,8 +21,8 @@
(define loaded (make-hash))
(define (module-loaded? path)
- (with-handlers ((exn? (lambda (_) #f)))
- (let ((rp (module-path-index-resolve (module-path-index-join path #f))))
+ (with-handlers ([exn? (lambda (_) #f)])
+ (let ([rp (module-path-index-resolve (module-path-index-join path #f))])
(hash-has-key? loaded (resolved-module-path-name rp)))))
(define (enter-module mod)