From 85a2753d96c5316f63eca20759fc9a1126545ad7 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 12 Feb 2016 11:41:29 +0100 Subject: [PATCH] Revert "Fix gnus-group-get-new-news-this-group on group with closed server" This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e. * lisp/gnus/nnimap.el (nnimap-change-group): Revert last change. (Bug#22634) --- lisp/gnus/nnimap.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 130658cd367..c285befc760 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -1831,9 +1831,7 @@ Return the server's response to the SELECT or EXAMINE command." (let ((open-result t)) (when (and server (not (nnimap-server-opened server))) - (let ((method (gnus-server-to-method server))) - (setq open-result (nnimap-open-server (nth 1 method) (nthcdr 2 method) - no-reconnect)))) + (setq open-result (nnimap-open-server server nil no-reconnect))) (cond ((not open-result) nil) -- 2.39.5