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

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

[nongnu] elpa/bash-completion 4d6fb40bec 217/313: Accept output only fro


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 4d6fb40bec 217/313: Accept output only from the process performing completion
Date: Sat, 3 Dec 2022 10:59:32 -0500 (EST)

branch: elpa/bash-completion
commit 4d6fb40bec1d71bb24c66072be5f493fcdeb7c04
Author: montag451 <montag451@laposte.net>
Commit: montag451 <montag451@laposte.net>

    Accept output only from the process performing completion
---
 bash-completion.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bash-completion.el b/bash-completion.el
index 30f164e26f..33f6f66a94 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -1329,7 +1329,7 @@ and would like bash completion in Emacs to take these 
changes into account."
   (let ((no-timeout t))
     (while (and no-timeout
                 (not (re-search-backward prompt-regexp nil t)))
-      (setq no-timeout (accept-process-output process timeout)))
+      (setq no-timeout (accept-process-output process timeout nil t)))
     no-timeout))
 
 (defun bash-completion--get-prompt-regexp ()



reply via email to

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