[gnus git] branch no-gnus updated: m0-1-46-g7452849 =1= message.el (message-default-send-mail-function): Made into own function for reuse by emacsbug.el.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  7452849ffc4c8b0ada15df4e17482c2d7cd53392 (commit)
      from  3146c23685af7e6b4a95135fcd940a27ce13dc38 (commit)


- Log -----------------------------------------------------------------
commit 7452849ffc4c8b0ada15df4e17482c2d7cd53392
Author: Lars Ingebrigtsen <[email protected]>
Date:   Sat Feb 11 00:22:45 2012 +0000

    message.el (message-default-send-mail-function): Made into own function for reuse by emacsbug.el.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d5b8be0..4455f78 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-10  Lars Ingebrigtsen  <[email protected]>
+
+	* message.el (message-default-send-mail-function): Made into own
+	function for reuse by emacsbug.el.
+
 2012-02-09  Juanma Barranquero  <[email protected]>
 
 	* gnus.el (gnus-method-ephemeral-p): Move after declaration of defsubst
diff --git a/lisp/message.el b/lisp/message.el
index b784c65..2a9751a 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -682,14 +682,16 @@ Done before generating the new subject of a forward."
 	(t
 	 (error "Don't know how to send mail.  Please customize `message-send-mail-function'"))))
 
-;; Useful to set in site-init.el
-(defcustom message-send-mail-function
+(defun message-default-send-mail-function ()
   (cond ((eq send-mail-function 'smtpmail-send-it) 'message-smtpmail-send-it)
 	((eq send-mail-function 'feedmail-send-it) 'feedmail-send-it)
 	((eq send-mail-function 'sendmail-query-once) 'sendmail-query-once)
 	((eq send-mail-function 'mailclient-send-it)
 	 'message-send-mail-with-mailclient)
-	(t (message-send-mail-function)))
+	(t (message-send-mail-function))))
+
+;; Useful to set in site-init.el
+(defcustom message-send-mail-function (message-default-send-mail-function)
   "Function to call to send the current buffer as mail.
 The headers should be delimited by a line whose contents match the
 variable `mail-header-separator'.

-----------------------------------------------------------------------
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 |    8 +++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

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, no-gnus 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.