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

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

[nongnu] elpa/bash-completion 52af1ff8f7 090/313: Really disable mail ch


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 52af1ff8f7 090/313: Really disable mail check this time ? Set MAILCHECK to -1
Date: Sat, 3 Dec 2022 10:59:19 -0500 (EST)

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

    Really disable mail check this time ? Set MAILCHECK to -1
---
 elisp/bash-completion.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/elisp/bash-completion.el b/elisp/bash-completion.el
index eaaf77308e..0cc1471d77 100644
--- a/elisp/bash-completion.el
+++ b/elisp/bash-completion.el
@@ -821,11 +821,11 @@ is set to t."
            ;; attempt to turn off unexpected status messages from bash
            ;; if the current version of bash does not support these options,
            ;; 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 checkjobs" process)
            (bash-completion-send "shopt -u mailwarn" process)
-           (bash-completion-send "export MAIL=''" process)
+           (bash-completion-send "export MAILCHECK=-1" process)
+           (bash-completion-send "export -n MAIL" process)
+           (bash-completion-send "export -n MAILPATH" 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]