branch: elpa/bash-completion
commit 0a6fa499ad087286795a96a8e27c63101dd0bd03
Author: montag451 <[email protected]>
Commit: montag451 <[email protected]>
Fix one parameter name of bash-completion--wait-for-prompt
---
bash-completion.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bash-completion.el b/bash-completion.el
index 9afcfc222c..6c294a95da 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -1321,10 +1321,10 @@ and would like bash completion in Emacs to take these
changes into account."
(setq bash-completion-processes (delq entry bash-completion-processes)))
running))
-(defun bash-completion--wait-for-prompt (process output-regexp timeout)
+(defun bash-completion--wait-for-prompt (process prompt-regexp timeout)
(let ((no-timeout t))
(while (and no-timeout
- (not (re-search-backward output-regexp nil t)))
+ (not (re-search-backward prompt-regexp nil t)))
(setq no-timeout (accept-process-output process timeout)))
no-timeout))