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

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

[elpa] externals/gnugo 1cd92b7 009/357: [gnugo] Wait at most 30sec for s


From: Stefan Monnier
Subject: [elpa] externals/gnugo 1cd92b7 009/357: [gnugo] Wait at most 30sec for subproc output chunk.
Date: Sun, 29 Nov 2020 14:50:36 -0500 (EST)

branch: externals/gnugo
commit 1cd92b7c3be028cb9513e47283e516452d814874
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>

    [gnugo] Wait at most 30sec for subproc output chunk.
    
    * packages/gnugo/gnugo.el (gnugo-synchronous-send/return):
    Specify TIMEOUT of 30 seconds to ‘accept-process-output’.
---
 gnugo.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnugo.el b/gnugo.el
index cb92f46..3a38a80 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -381,7 +381,7 @@ STRING omits the two trailing newlines.  See also 
`gnugo-query'."
     (let (rv)
       ;; type change => break
       (while (stringp (setq rv (gnugo-get :sync-return)))
-        (accept-process-output proc))
+        (accept-process-output proc 30))
       (gnugo-put :sync-return "")
       rv)))
 



reply via email to

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