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

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

[nongnu] elpa/bash-completion a78fd6b587 044/313: turn off mailwarn and


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion a78fd6b587 044/313: turn off mailwarn and checkjobs, continue if this failed
Date: Sat, 3 Dec 2022 10:59:14 -0500 (EST)

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

    turn off mailwarn and checkjobs, continue if this failed
---
 bash-completion.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bash-completion.el b/bash-completion.el
index d1f30559fd..a3c4fc7bdb 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -274,6 +274,9 @@ The result is a list of candidates, which might be empty."
                (process-send-string process (concat ". " startfile2 "\n")))))
            (bash-completion-send "PS1='\v'" process 
bash-completion-initial-timeout)
            (bash-completion-send "function __bash_complete_wrapper { eval 
$__BASH_COMPLETE_WRAPPER; }" process)
+           ;; attempt to turn off unexpected status messages from bash
+           ;; if the current version of bash does not support these options,
+           ;; the command will fail silently and be ignored
            (bash-completion-send "shopt -u mailwarn; shopt -u checkjobs" 
process)
            ;; some bash completion functions use quote_readline to double-quote
            ;; strings - which compgen understands but only in some environment.



reply via email to

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