[gnus git] branch master updated: m0-7-261-gb9417d1 =1= message.el (message-send-mail-with-sendmail): Don't kill error buffer if sending fails

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  b9417d106244d5023ce1bead25dd143dad93818e (commit)
      from  7ed3de19fdab1af6b530bd199154e8e64959277b (commit)


- Log -----------------------------------------------------------------
commit b9417d106244d5023ce1bead25dd143dad93818e
Author: Vitalie Spinu <[email protected]>
Date:   Tue Dec 3 01:06:09 2013 +0000

    message.el (message-send-mail-with-sendmail): Don't kill error buffer if sending fails

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eeda5bc..a286a82 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-03  Vitalie Spinu  <[email protected]>  (tiny change)
+
+	* message.el (message-send-mail-with-sendmail):
+	Don't kill error buffer if sending fails.
+
 2013-11-28  Jan Tatarik  <[email protected]>
 
 	* gnus-icalendar.el (gnus-icalendar-event-from-ical)
diff --git a/lisp/message.el b/lisp/message.el
index 6e1e964..4a7c2ab 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -4783,7 +4783,9 @@ that instead."
 			    (list resend-to-addresses)
 			  '("-t"))))))
 	    (unless (or (null cpr) (and (numberp cpr) (zerop cpr)))
-              (if errbuf (pop-to-buffer errbuf))
+	      (when errbuf
+		(pop-to-buffer errbuf)
+		(setq errbuf nil))
 	      (error "Sending...failed with exit value %d" cpr)))
 	  (when message-interactive
 	    (with-current-buffer errbuf

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog  |    5 +++++
 lisp/message.el |    4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.