]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/gnus/gnus-group.el (gnus-group-browse-foreign-server): Silence compiler
authorGlenn Morris <rgm@gnu.org>
Wed, 30 Oct 2013 06:34:26 +0000 (23:34 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 30 Oct 2013 06:34:26 +0000 (23:34 -0700)
obsolescence warning.

lisp/gnus/ChangeLog
lisp/gnus/gnus-group.el

index beb47120241d31b2979f537ba847564252185e02..27f863ef3c6b758aa8080802b9875951fe26a58a 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-30  Glenn Morris  <rgm@gnu.org>
+
+       * gnus-group.el (gnus-group-browse-foreign-server):
+       Silence compiler obsolescence warning.
+
 2013-10-29  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * nnimap.el (nnimap-open-connection-1): `auth-source-search' for the
index c8945e57531bcc85f170113464811667a7032610..a1bc62fb18e3dbbdf2da533e7fe5c92594eee203 100644 (file)
@@ -4398,7 +4398,12 @@ and the second element is the address."
                     ;; Suggested by mapjph@bath.ac.uk.
                     (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))