changeset 96596:fe7840feb64b

(message-send-mail-with-sendmail): Display the error message.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 10 Jul 2008 16:06:22 +0000
parents cb1bfa1dca4f
children 132b7b7f8292
files lisp/gnus/ChangeLog lisp/gnus/message.el
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Thu Jul 10 15:26:15 2008 +0000
+++ b/lisp/gnus/ChangeLog	Thu Jul 10 16:06:22 2008 +0000
@@ -1,7 +1,12 @@
+2008-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* message.el (message-send-mail-with-sendmail):
+	Display the error message.
+
 2008-07-02  Katsumi Yamaoka  <yamaoka@jpl.org>
 
-	* gnus-art.el (gnus-default-article-saver): Add
-	gnus-summary-save-in-pipe to choices.
+	* gnus-art.el (gnus-default-article-saver):
+	Add gnus-summary-save-in-pipe to choices.
 	(gnus-summary-save-in-pipe): Add :decode and :headers properties; use
 	gnus-summary-pipe-output-default-command as the default command.
 	(gnus-summary-pipe-to-muttprint): Update gnus-summary-muttprint-program
--- a/lisp/gnus/message.el	Thu Jul 10 15:26:15 2008 +0000
+++ b/lisp/gnus/message.el	Thu Jul 10 16:06:22 2008 +0000
@@ -4515,6 +4515,7 @@
 			    (list resend-to-addresses)
 			  '("-t"))))))
 	    (unless (or (null cpr) (and (numberp cpr) (zerop cpr)))
+              (if errbuf (pop-to-buffer errbuf))
 	      (error "Sending...failed with exit value %d" cpr)))
 	  (when message-interactive
 	    (with-current-buffer errbuf