summaryrefslogtreecommitdiff
path: root/guile-readline
diff options
context:
space:
mode:
Diffstat (limited to 'guile-readline')
-rw-r--r--guile-readline/ice-9/readline.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guile-readline/ice-9/readline.scm b/guile-readline/ice-9/readline.scm
index e74bc0243..c35602f0c 100644
--- a/guile-readline/ice-9/readline.scm
+++ b/guile-readline/ice-9/readline.scm
@@ -215,7 +215,7 @@
(set-buffered-input-continuation?! (readline-port) #f)
(set-readline-prompt! repl-prompt "... ")
(set-readline-read-hook! repl-read-hook))
- (lambda () (read))
+ (lambda () ((or (fluid-ref current-reader) read)))
(lambda ()
(set-readline-prompt! outer-new-input-prompt outer-continuation-prompt)
(set-readline-read-hook! outer-read-hook))))))