From: Glenn Morris Date: Wed, 1 Jun 2011 03:50:20 +0000 (-0700) Subject: Use derived-mode-p in previous change. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~63 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67a0931d39202b9e7169c88d7fe47aa345fbfcae;p=emacs.git Use derived-mode-p in previous change. --- 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.