mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Fix up the emacsbug query-once logic from the previous patch
* mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in previous patch: Check `message-send-mail-function', and not the default function. Fixes: debbugs:10897
This commit is contained in:
parent
ebeabff47e
commit
e627be4c9d
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
|
||||
previous patch: Check `message-send-mail-function', and not the
|
||||
default function (bug#10897).
|
||||
|
||||
2012-03-04 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* notifications.el (notifications-unique-name): New defvar.
|
||||
|
|
|
|||
|
|
@ -395,8 +395,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)
|
||||
(eq (message-default-send-mail-function)
|
||||
'sendmail-query-once))
|
||||
(eq message-send-mail-function 'sendmail-query-once))
|
||||
(and (not (derived-mode-p 'message-mode))
|
||||
(eq send-mail-function 'sendmail-query-once)))
|
||||
(sendmail-query-user-about-smtp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue