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

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

[nongnu] elpa/bash-completion 75e5de1494 066/313: fix initial completion


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 75e5de1494 066/313: fix initial completion
Date: Sat, 3 Dec 2022 10:59:17 -0500 (EST)

branch: elpa/bash-completion
commit 75e5de14942b137a8400c574fe68d56994d63cf3
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    fix initial completion
---
 bash-completion.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bash-completion.el b/bash-completion.el
index 8490821400..5e19bc327d 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -520,6 +520,9 @@ up the completion environment (COMP_LINE, COMP_POINT, 
COMP_WORDS,
 COMP_CWORD) and calls compgen.
 
 The result is a list of candidates, which might be empty."
+  ;; start process now, to make sure bash-completion-alist is
+  ;; set before we run bash-completion-generate-line
+  (bash-completion-require-process)
   (bash-completion-send
    (concat
     (bash-completion-generate-line line pos words cword)



reply via email to

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