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

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

[nongnu] elpa/bash-completion 0a6fa499ad 207/313: Fix one parameter name


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 0a6fa499ad 207/313: Fix one parameter name of bash-completion--wait-for-prompt
Date: Sat, 3 Dec 2022 10:59:31 -0500 (EST)

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

    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))
 



reply via email to

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