From 8ebfa570ad6a722a831c53a0229464055bf227c3 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 21 Nov 2010 03:50:41 +0100 Subject: 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. --- scheme/racket/geiser/user.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3