From: yamaoka Date: Mon, 27 Nov 2000 01:44:39 +0000 (+0000) Subject: * lisp/gnus-vers.el (gnus-revision-number): Increment to 08. X-Git-Tag: t-gnus-6_14_5-08 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51d46f996973ae94e0fedef102653b8f57e75c68;p=elisp%2Fgnus.git- * lisp/gnus-vers.el (gnus-revision-number): Increment to 08. * lisp/message.el (message-send-mail-with-smtp): Leave the error handling in `smtp-send-buffer's own care. --- diff --git a/ChangeLog b/ChangeLog index 4b4003f..981e30b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ +2000-11-27 Katsumi Yamaoka + + * lisp/gnus-vers.el (gnus-revision-number): Increment to 08. + + * lisp/message.el (message-send-mail-with-smtp): Leave the error + handling in `smtp-send-buffer's own care. + 2000-11-26 Tatsuya Ichikawa - + * lisp/message.el: Undo changes. 2000-11-26 Tatsuya Ichikawa diff --git a/lisp/gnus-vers.el b/lisp/gnus-vers.el index 2ffcc1b..95456e5 100644 --- a/lisp/gnus-vers.el +++ b/lisp/gnus-vers.el @@ -31,7 +31,7 @@ (require 'product) (provide 'gnus-vers) -(defconst gnus-revision-number "07" +(defconst gnus-revision-number "08" "Revision number for this version of gnus.") ;; Product information of this gnus. diff --git a/lisp/message.el b/lisp/message.el index e10caf1..baeccc8 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -3069,14 +3069,13 @@ to find out how to use this." (backward-char 1) (run-hooks 'message-send-mail-hook) (if recipients - (let ((result (static-if (fboundp 'smtp-send-buffer) - (smtp-send-buffer user-mail-address recipients - (current-buffer)) - (smtp-via-smtp user-mail-address - recipients - (current-buffer))))) - (unless (eq result t) - (error "Sending failed; " result))) + (static-if (fboundp 'smtp-send-buffer) + (smtp-send-buffer user-mail-address recipients + (current-buffer)) + (let ((result (smtp-via-smtp user-mail-address recipients + (current-buffer)))) + (unless (eq result t) + (error "Sending failed; %s" result)))) (error "Sending failed; no recipients")))) (defsubst message-maybe-split-and-send-news (method)