aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-05-31 20:35:49 -0700
committerGlenn Morris2011-05-31 20:35:49 -0700
commitd1a5d56a0c3ecdc17af654dd156b22b7fed71ffc (patch)
treee91ab36c6666bcb018bd95d0f17c00bccfc97205
parent357e1c676cba36d5fa7b6819425a38cbad0c30cd (diff)
downloademacs-d1a5d56a0c3ecdc17af654dd156b22b7fed71ffc.tar.gz
emacs-d1a5d56a0c3ecdc17af654dd156b22b7fed71ffc.zip
* lisp/mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/mail/emacsbug.el5
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8f96a838cc5..307aac72bc5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -56,6 +56,10 @@
56 (rcirc-decode-coding-system): Allow value nil for automatic coding 56 (rcirc-decode-coding-system): Allow value nil for automatic coding
57 system detection. 57 system detection.
58 58
592011-06-01 Glenn Morris <rgm@gnu.org>
60
61 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
62
592011-05-29 Chong Yidong <cyd@stupidchicken.com> 632011-05-29 Chong Yidong <cyd@stupidchicken.com>
60 64
61 * image.el (image-animate-max-time): Allow nil and t values. 65 * image.el (image-animate-max-time): Allow nil and t values.
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index ce4dde29693..b1b3c443a09 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -331,6 +331,7 @@ usually do not have translators to read other languages for them.\n\n")
331 331
332;; It's the default mail mode, so it seems OK to use its features. 332;; It's the default mail mode, so it seems OK to use its features.
333(autoload 'message-bogus-recipient-p "message") 333(autoload 'message-bogus-recipient-p "message")
334(defvar message-send-mail-function)
334 335
335(defun report-emacs-bug-hook () 336(defun report-emacs-bug-hook ()
336 "Do some checking before sending a bug report." 337 "Do some checking before sending a bug report."
@@ -343,6 +344,10 @@ usually do not have translators to read other languages for them.\n\n")
343 report-emacs-bug-orig-text) 344 report-emacs-bug-orig-text)
344 (error "No text entered in bug report")) 345 (error "No text entered in bug report"))
345 (or report-emacs-bug-no-confirmation 346 (or report-emacs-bug-no-confirmation
347 ;; mailclient.el does not handle From (at present).
348 (if (eq major-mode 'message-mode)
349 (eq message-send-mail-function 'message-send-mail-with-mailclient)
350 (eq send-mail-function 'mailclient-send-it))
346 ;; Not narrowing to the headers, but that's OK. 351 ;; Not narrowing to the headers, but that's OK.
347 (let ((from (mail-fetch-field "From"))) 352 (let ((from (mail-fetch-field "From")))
348 (and (or (not from) 353 (and (or (not from)