[gnus git] branch master updated: m0-5-120-ga1e811e =1= gnus-srvr: remove message call on failure

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  a1e811e8e34628b751ddc7dccb7b8e7c95afb7ee (commit)
      from  f675ba0c774c229173a58e06185c45e38e0d0ff5 (commit)


- Log -----------------------------------------------------------------
commit a1e811e8e34628b751ddc7dccb7b8e7c95afb7ee
Author: Julien Danjou <[email protected]>
Date:   Wed Sep 5 23:56:04 2012 +0200

    gnus-srvr: remove message call on failure
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7291709..a4783a1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-05  Julien Danjou  <[email protected]>
+
+	* gnus-srvr.el (gnus-server-open-server): Don't message on failure:
+	this hide the real reason with a message giving absolutely no hint.
+
 2012-09-05  Lars Ingebrigtsen  <[email protected]>
 
 	* gnus-group.el (gnus-group-mark-article-read): Propagate the read mark
diff --git a/lisp/gnus-srvr.el b/lisp/gnus-srvr.el
index 66509c9..f58cb80 100644
--- a/lisp/gnus-srvr.el
+++ b/lisp/gnus-srvr.el
@@ -490,8 +490,7 @@ The following commands are available:
       (error "No such server: %s" server))
     (gnus-server-set-status method 'ok)
     (prog1
-	(or (gnus-open-server method)
-	    (progn (message "Couldn't open %s" server) nil))
+	(gnus-open-server method)
       (gnus-server-update-server server)
       (gnus-server-position-point))))
 

-----------------------------------------------------------------------
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-srvr.el |    3 +--
 2 files changed, 6 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.