emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/geiser-racket aa2a6be 064/191: Racket: slightly better han


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-racket aa2a6be 064/191: Racket: slightly better handling of the signatures cache
Date: Sun, 1 Aug 2021 18:32:01 -0400 (EDT)

branch: elpa/geiser-racket
commit aa2a6bee76bc5899f50b42e559d3b0f6336564eb
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]