From cff9c8bc001e9ebd7b9cb54b981ddc675726c9a5 Mon Sep 17 00:00:00 2001 From: Augusto Stoffel Date: Thu, 28 May 2026 11:43:59 +0200 Subject: [PATCH] Improve prompting for mail sending by by 'report-emacs-bug' * lisp/mail/emacsbug.el (report-emacs-bug-hook): Don't ask about mail sending options if 'message-server-alist' is set. (Bug#81176) --- lisp/mail/emacsbug.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index f4a032c647d..d69fd106e5c 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -473,6 +473,7 @@ and send the mail again%s." ;; questions about From header validity if the user is going to ;; use mailclient, anyway. (when (or (and (derived-mode-p 'message-mode) + (not message-server-alist) (eq (message-default-send-mail-function) 'sendmail-query-once)) (and (not (derived-mode-p 'message-mode)) (eq send-mail-function 'sendmail-query-once)))