diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-21 03:50:41 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-21 03:50:41 +0100 |
commit | 8ebfa570ad6a722a831c53a0229464055bf227c3 (patch) | |
tree | 1741d2ae26de278cbd6f979bba97ceba5e49d51b | |
parent | b437f54ca8154356f8f576f14f4c167f7f1fa8ff (diff) | |
download | geiser-chez-8ebfa570ad6a722a831c53a0229464055bf227c3.tar.gz geiser-chez-8ebfa570ad6a722a831c53a0229464055bf227c3.tar.bz2 |
Racket: slightly better handling of the signatures cache
Refreshing the cache on form evaluation (had been deactivated by error
since the introduction of meta-commands). The current behaviour is not
yet completely correct: if one evaluates a form in a modified buffer,
geiser won't notice the new definition's signature, not even after the
buffer is saved if one has gone around asking for autodoc before that.
An improvement would be to make the cache sensitive to file write
times, as suggested back in the day by Eli & Neil.
-rw-r--r-- | scheme/racket/geiser/user.rkt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scheme/racket/geiser/user.rkt b/scheme/racket/geiser/user.rkt index 4508468..4dc13e4 100644 --- a/scheme/racket/geiser/user.rkt +++ b/scheme/racket/geiser/user.rkt @@ -48,7 +48,7 @@ (let* ([proc (eval (read) geiser-main)] [args (read)]) (eval-in `(,proc ,@args) mod lang))] - [else (eval-in form mod lang)]))))) + [else ((geiser:eval lang) form mod)]))))) (define ((geiser-read prompt)) (prompt) |