[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 67722ab 5/6: Avoid querying in a noninteractive Emacs.
From: |
Richard M. Stallman |
Subject: |
master 67722ab 5/6: Avoid querying in a noninteractive Emacs. |
Date: |
Tue, 11 May 2021 23:09:49 -0400 (EDT) |
branch: master
commit 67722ab62f9cd0ce81efd628d5a87b8ef350aacc
Author: Richard Stallman <rms@gnu.org>
Commit: Richard Stallman <rms@gnu.org>
Avoid querying in a noninteractive Emacs.
* lisp/mail/sendmail.el (mail-send): In noninteractive Emacs,
don't ask about combining header fields.
---
lisp/mail/sendmail.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index c959634..fee11c0 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -896,8 +896,9 @@ the user from the mailer."
(concat "\\(?:[[:space:];,]\\|\\`\\)"
(regexp-opt mail-mailing-lists t)
"\\(?:[[:space:];,]\\|\\'\\)"))))
- (mail-combine-fields "To")
- (mail-combine-fields "Cc")
+ (unless noninteractive
+ (mail-combine-fields "To")
+ (mail-combine-fields "Cc"))
;; If there are mailing lists defined
(when ml
(save-excursion
- master updated (5784b42 -> 47070ed), Richard M. Stallman, 2021/05/11
- master 19d0cf5 1/6: Use rfc822-goto-eoh rather that mail-header-separator., Richard M. Stallman, 2021/05/11
- master 42596bd 2/6: Little improvements in rmail.el. Recognize encryped override headers., Richard M. Stallman, 2021/05/11
- master ec8aff1 3/6: Handle multi-line FROM., Richard M. Stallman, 2021/05/11
- master ff6727d 4/6: Handle empty string as mail-header-separator, Richard M. Stallman, 2021/05/11
- master 67722ab 5/6: Avoid querying in a noninteractive Emacs.,
Richard M. Stallman <=
- master 47070ed 6/6: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Richard M. Stallman, 2021/05/11