branch: elpa/geiser-racket commit aa2a6bee76bc5899f50b42e559d3b0f6336564eb Author: Jose Antonio Ortega Ruiz <j...@gnu.org> Commit: Jose Antonio Ortega Ruiz <j...@gnu.org>
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. --- geiser/user.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geiser/user.rkt b/geiser/user.rkt index 4508468..4dc13e4 100644 --- a/geiser/user.rkt +++ b/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)