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

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

[nongnu] elpa/bash-completion 97cace2287 089/313: Split shopt sets; if o


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 97cace2287 089/313: Split shopt sets; if one fails the rest can run
Date: Sat, 3 Dec 2022 10:59:19 -0500 (EST)

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

    Split shopt sets; if one fails the rest can run
---
 elisp/bash-completion.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/elisp/bash-completion.el b/elisp/bash-completion.el
index 4478fbf5c5..eaaf77308e 100644
--- a/elisp/bash-completion.el
+++ b/elisp/bash-completion.el
@@ -820,10 +820,12 @@ is set to t."
            (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.
+           ;; the commands will fail silently and be ignored.
            ;; export MAIL='' is a desperate attempt to make sure the mail 
warning
            ;; is really switched off
-           (bash-completion-send "shopt -u mailwarn; shopt -u checkjobs; 
export MAIL=''" process)
+           (bash-completion-send "shopt -u checkjobs" process)
+           (bash-completion-send "shopt -u mailwarn" process)
+           (bash-completion-send "export MAIL=''" 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]