* lisp/gnus/nntp.el (nntp-open-server): Set variables in the correct buffer
(bug#19583).
+2015-02-14 Ivan Shmakov <ivan@siamics.net>
+
+ * nntp.el (nntp-open-server): Set variables in the correct buffer
+ (bug#19583).
+
2015-02-14 Lars Ingebrigtsen <larsi@gnus.org>
* mm-decode.el (mm-head-p): New function.
(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)