diff options
| author | Lars Magne Ingebrigtsen | 2012-03-04 14:34:33 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2012-03-04 14:34:33 +0100 |
| commit | e627be4c9ddaec9e4037166ebbac2d09b5bce28a (patch) | |
| tree | 70e546c1bd26fce5351ac74a6ae878269afd981c | |
| parent | ebeabff47e793ca13a0c54b1442d87060f709227 (diff) | |
| download | emacs-e627be4c9ddaec9e4037166ebbac2d09b5bce28a.tar.gz emacs-e627be4c9ddaec9e4037166ebbac2d09b5bce28a.zip | |
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
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/mail/emacsbug.el | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5392e197d9f..102ef01d772 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in | ||
| 4 | previous patch: Check `message-send-mail-function', and not the | ||
| 5 | default function (bug#10897). | ||
| 6 | |||
| 1 | 2012-03-04 Michael Albinus <michael.albinus@gmx.de> | 7 | 2012-03-04 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * notifications.el (notifications-unique-name): New defvar. | 9 | * notifications.el (notifications-unique-name): New defvar. |
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." | |||
| 395 | ;; questions about From header validity if the user is going to | 395 | ;; questions about From header validity if the user is going to |
| 396 | ;; use mailclient, anyway. | 396 | ;; use mailclient, anyway. |
| 397 | (when (or (and (derived-mode-p 'message-mode) | 397 | (when (or (and (derived-mode-p 'message-mode) |
| 398 | (eq (message-default-send-mail-function) | 398 | (eq message-send-mail-function 'sendmail-query-once)) |
| 399 | 'sendmail-query-once)) | ||
| 400 | (and (not (derived-mode-p 'message-mode)) | 399 | (and (not (derived-mode-p 'message-mode)) |
| 401 | (eq send-mail-function 'sendmail-query-once))) | 400 | (eq send-mail-function 'sendmail-query-once))) |
| 402 | (sendmail-query-user-about-smtp) | 401 | (sendmail-query-user-about-smtp) |