diff options
author | Andy Wingo <wingo@pobox.com> | 2008-08-02 12:29:07 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2008-08-02 12:29:07 +0200 |
commit | d28d59933ca6da047e55da8af2ab4a18fb8fac61 (patch) | |
tree | 38c3aa3f8208451a0a114d7471e761d9f1d2aa82 /guile-readline | |
parent | d351811347b3bbc2c0b8fbada5335392772079b8 (diff) |
make readline's `repl-reader' impl check the current-reader fluid
* guile-readline/ice-9/readline.scm (activate-readline): Use the current
binding of the current-reader fluid, if it is available.
Diffstat (limited to 'guile-readline')
-rw-r--r-- | guile-readline/ice-9/readline.scm | 2 |
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)))))) |