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

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

[nongnu] elpa/bash-completion 80cd654c35 043/313: turn off mailwarn and


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 80cd654c35 043/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 80cd654c35c49bcebc8b4d1af9b95a8615b22445
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, 2 insertions(+), 1 deletion(-)

diff --git a/bash-completion.el b/bash-completion.el
index cdc46491d8..d1f30559fd 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -262,7 +262,7 @@ The result is a list of candidates, which might be empty."
                   "*bash-completion*"
                   (generate-new-buffer-name " bash-completion")
                   bash-completion-prog
-                  "--noediting" "+O" "mailwarn"))
+                  "--noediting"))
            (set-process-query-on-exit-flag process nil)
            (let* ((shell-name (file-name-nondirectory bash-completion-prog))
                   (startfile1 (concat "~/.emacs_" shell-name ".sh"))
@@ -274,6 +274,7 @@ 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)
+           (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.
            ;; disable this dreadful business to get a saner way of handling



reply via email to

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