[gnus git] branch master updated: m0-11-159-gca4ff36 =1= Make `url-retrieve-synchronously' work again with news:

Lars <[email protected]> Sat, 14 Feb 2015 06:24:17 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  ca4ff364b9be7865ccee20f8b5159be297a58aa5 (commit)
      from  4c322986ceccf098ec4ddc3f9c94e541242830d6 (commit)


- Log -----------------------------------------------------------------
commit ca4ff364b9be7865ccee20f8b5159be297a58aa5
Author: Ivan Shmakov <[email protected]>
Date:   Sat Feb 14 16:24:08 2015 +1100

    Make `url-retrieve-synchronously' work again with news:
    
    * nntp.el (nntp-open-server): Set variables in the correct buffer
    (bug#19583).

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9f93a30..c22fcc3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-14  Ivan Shmakov  <[email protected]>
+
+	* nntp.el (nntp-open-server): Set variables in the correct buffer
+	(bug#19583).
+
 2015-02-14  Lars Ingebrigtsen  <[email protected]>
 
 	* mm-decode.el (mm-head-p): New function.
diff --git a/lisp/nntp.el b/lisp/nntp.el
index 0891dba..a86f45e 100644
--- a/lisp/nntp.el
+++ b/lisp/nntp.el
@@ -1066,7 +1066,8 @@ command whose response triggered the error."
       (setq defs (cons (list 'nntp-port-number (car defs)) (cdr defs))))
     (unless (assq 'nntp-address defs)
       (setq defs (append defs (list (list 'nntp-address server)))))
-    (nnoo-change-server 'nntp server defs)
+    (with-current-buffer nntp-server-buffer
+      (nnoo-change-server 'nntp server defs))
     (if connectionless
 	t
       (or (nntp-find-connection nntp-server-buffer)

-----------------------------------------------------------------------
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/nntp.el   |    3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

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