[gnus git] branch master updated: m0-7-241-gfbbd355 =1= gnus-group.el (gnus-group-browse-foreign-server): gnus-int.el (gnus-start-news-server): Silence compiler obsolescence warning

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  fbbd3554892a5484919ed99e5506d73a1e285b40 (commit)
      from  9910a6dc485cc75301c8e69913f92836b90f3b63 (commit)


- Log -----------------------------------------------------------------
commit fbbd3554892a5484919ed99e5506d73a1e285b40
Author: Glenn Morris <[email protected]>
Date:   Wed Oct 30 08:09:37 2013 +0000

    gnus-group.el (gnus-group-browse-foreign-server):
    gnus-int.el (gnus-start-news-server): Silence compiler obsolescence warning

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 87ff855..d8109ec 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2013-10-30  Glenn Morris  <[email protected]>
+
+	* gnus-group.el (gnus-group-browse-foreign-server):
+	* gnus-int.el (gnus-start-news-server):
+	Silence compiler obsolescence warning.
+
 2013-10-29  Teodor Zlatanov  <[email protected]>
 
 	* nnimap.el (nnimap-open-connection-1): `auth-source-search' for the
diff --git a/lisp/gnus-group.el b/lisp/gnus-group.el
index c8945e5..a1bc62f 100644
--- a/lisp/gnus-group.el
+++ b/lisp/gnus-group.el
@@ -4398,7 +4398,12 @@ and the second element is the address."
 		     ;; Suggested by [email protected].
 		     (gnus-completing-read
 		      "Address"
-		      gnus-secondary-servers))
+		      ;; FIXME? gnus-secondary-servers is obsolete,
+		      ;; and it is not obvious that there is anything
+		      ;; sensible to use instead in this particular case.
+		      (if (boundp 'gnus-secondary-servers)
+			  gnus-secondary-servers
+			(cdr gnus-select-method))))
 	     ;; We got a server name.
 	     how))))
   (gnus-browse-foreign-server method))
diff --git a/lisp/gnus-int.el b/lisp/gnus-int.el
index 2de6ce0..d0aca8f 100644
--- a/lisp/gnus-int.el
+++ b/lisp/gnus-int.el
@@ -113,7 +113,8 @@ If CONFIRM is non-nil, the user will be asked for an NNTP server."
 	(setq gnus-nntp-server
 	      (gnus-completing-read "NNTP server"
                                     (cons gnus-nntp-server
-                                          gnus-secondary-servers)
+					  (if (boundp 'gnus-secondary-servers)
+					      gnus-secondary-servers))
                                     nil gnus-nntp-server)))
 
       (when (and gnus-nntp-server

-----------------------------------------------------------------------
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     |    6 ++++++
 lisp/gnus-group.el |    7 ++++++-
 lisp/gnus-int.el   |    3 ++-
 3 files changed, 14 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.