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

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

[nongnu] elpa/geiser-racket dc63508 081/191: Racket: use the proper inte


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-racket dc63508 081/191: Racket: use the proper interaction port for input (#32844)
Date: Sun, 1 Aug 2021 18:32:04 -0400 (EDT)

branch: elpa/geiser-racket
commit dc63508637038113df76524fb71355532668e6e0
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>

    Racket: use the proper interaction port for input (#32844)
    
    Thanks to Caleb Reach.
    
    We were using current-input-port, which is not the right port in
    graphical environments.
---
 geiser/user.rkt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geiser/user.rkt b/geiser/user.rkt
index 3ef978b..621b47f 100644
--- a/geiser/user.rkt
+++ b/geiser/user.rkt
@@ -64,7 +64,7 @@
 (define ((geiser-read prompt))
   (prompt)
   (flush-output)
-  (let* ([in (current-input-port)]
+  (let* ([in ((current-get-interaction-input-port))]
         [form ((current-read-interaction) (object-name in) in)])
     (syntax-case form ()
       [(uq cmd) (eq? 'unquote (syntax-e #'uq))



reply via email to

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