branch: elpa/bash-completion
commit 4d6fb40bec1d71bb24c66072be5f493fcdeb7c04
Author: montag451 <[email protected]>
Commit: montag451 <[email protected]>
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 ()