summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-05-31 20:50:20 -0700
committerGlenn Morris <rgm@gnu.org>2011-05-31 20:50:20 -0700
commit67a0931d39202b9e7169c88d7fe47aa345fbfcae (patch)
treed7b54fd985292f181e1b9372d751ef6f764763b5 /lisp/mail
parentd1a5d56a0c3ecdc17af654dd156b22b7fed71ffc (diff)
downloademacs-67a0931d39202b9e7169c88d7fe47aa345fbfcae.tar.gz
Use derived-mode-p in previous change.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/emacsbug.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index b1b3c443a09..6b062f2298f 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -345,7 +345,7 @@ usually do not have translators to read other languages for them.\n\n")
(error "No text entered in bug report"))
(or report-emacs-bug-no-confirmation
;; mailclient.el does not handle From (at present).
- (if (eq major-mode 'message-mode)
+ (if (derived-mode-p 'message-mode)
(eq message-send-mail-function 'message-send-mail-with-mailclient)
(eq send-mail-function 'mailclient-send-it))
;; Not narrowing to the headers, but that's OK.