[gnus git] branch master updated: m0-5-15-ge2c1d57 =1= Make `gnus-msg-mail' warn about Gnus not running

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  e2c1d571d8a1c38be0eab90ac59fe3a916ffa62d (commit)
      from  b157967844ef8a7aea7d45ed4b801007f90bce2f (commit)


- Log -----------------------------------------------------------------
commit e2c1d571d8a1c38be0eab90ac59fe3a916ffa62d
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Fri Jun 8 01:01:40 2012 +0200

    Make `gnus-msg-mail' warn about Gnus not running
    
    * gnus-msg.el (gnus-msg-mail): Warn the user about Gnus not running
    (bug#11514).

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bbe79a2..f71c286 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-07  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* gnus-msg.el (gnus-msg-mail): Warn the user about Gnus not running
+	(bug#11514).
+
 2012-06-07  Stephen Eglen  <[email protected]>
 
 	* message.el (message-buffers): Return all buffers derived from Message
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index bdc0195..d38f36a 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -519,8 +519,10 @@ If Gnus isn't running, a plain `message-mail' setup is used
 instead."
   (interactive)
   (if (not (gnus-alive-p))
+      (progn
+	(message "Gnus not running; using plain Message mode")
       (message-mail to subject other-headers continue
-                    nil yank-action send-actions return-action)
+		      nil yank-action send-actions return-action))
     (let ((buf (current-buffer))
 	  (gnus-newsgroup-name (or gnus-newsgroup-name ""))
 	  mail-buf)

-----------------------------------------------------------------------
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/gnus-msg.el |    6 ++++--
 2 files changed, 9 insertions(+), 2 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.