[gnus git] branch master updated: =1= message: change message-mail return value

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  6b8618c37ea40d17e896d25be5715bc213712f4a (commit)
      from  9a77aa07cb8e4c8d04f8dfb900fd17c42273f41f (commit)


- Log -----------------------------------------------------------------
commit 6b8618c37ea40d17e896d25be5715bc213712f4a
Author: Julien Danjou <[email protected]>
Date:   Thu Feb 3 15:48:02 2011 +0100

    message: change message-mail return value
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index feb0742..a2ebdea 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,7 @@
 2011-02-03  Julien Danjou  <[email protected]>
 
 	* message.el (message-setup-1): Always generate References first.
+	(message-mail): Return the return value of message-setup, not always t.
 
 	* gnus.el (gnus-summary-line-format): Add missing semi-colon for
 	user-date in docstring.
diff --git a/lisp/message.el b/lisp/message.el
index 28050f8..42ca73c 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -6582,9 +6582,7 @@ is a function used to switch to and display the mail buffer."
       (dolist (h other-headers other-headers)
  	(if (stringp (car h)) (setcar h (intern (capitalize (car h)))))))
      yank-action send-actions continue switch-function
-     return-action)
-    ;; FIXME: Should return nil if failure.
-    t))
+     return-action)))
 
 ;;;###autoload
 (defun message-news (&optional newsgroups subject)

-----------------------------------------------------------------------
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  |    1 +
 lisp/message.el |    4 +---
 2 files changed, 2 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, 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.