From: Lars Magne Ingebrigtsen Date: Sun, 15 Feb 2015 23:10:06 +0000 (+0000) Subject: Revert previous patch X-Git-Tag: emacs-25.0.90~2564^2~373 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6090b8f68dfc37bfe8bee539fc43149f9dd5d6bb;p=emacs.git Revert previous patch (let ((url-news-server "news.gmane.org")) (url-retrieve-synchronously "news:87y4p9y2cq.fsf@violet.siamics.net")) works fine for me --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index df331984865..b9ae796782d 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,8 +1,3 @@ -2015-02-14 Ivan Shmakov - - * nntp.el (nntp-open-server): Set variables in the correct buffer - (bug#19583). - 2015-02-14 Lars Ingebrigtsen * mm-decode.el (mm-head-p): New function. diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index a86f45e8bf3..0891dba0387 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el @@ -1066,8 +1066,7 @@ 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))))) - (with-current-buffer nntp-server-buffer - (nnoo-change-server 'nntp server defs)) + (nnoo-change-server 'nntp server defs) (if connectionless t (or (nntp-find-connection nntp-server-buffer)