diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2012-03-04 14:34:33 +0100 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2012-03-04 14:34:33 +0100 |
commit | e627be4c9ddaec9e4037166ebbac2d09b5bce28a (patch) | |
tree | 70e546c1bd26fce5351ac74a6ae878269afd981c /lisp/mail/emacsbug.el | |
parent | ebeabff47e793ca13a0c54b1442d87060f709227 (diff) | |
download | emacs-e627be4c9ddaec9e4037166ebbac2d09b5bce28a.tar.gz |
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
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r-- | lisp/mail/emacsbug.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index aa98da87904..853321cba6f 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -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) |