[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 9dc77e3: Fix gnus-group-get-new-news-this-group o
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] emacs-25 9dc77e3: Fix gnus-group-get-new-news-this-group on group with closed server |
Date: |
Sun, 07 Feb 2016 12:31:25 +0000 |
branch: emacs-25
commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e
Author: Andreas Schwab <address@hidden>
Commit: Andreas Schwab <address@hidden>
Fix gnus-group-get-new-news-this-group on group with closed server
* lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
method and pass to nnimap-open-server.
---
lisp/gnus/nnimap.el | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index c285bef..130658c 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -1831,7 +1831,9 @@ Return the server's response to the SELECT or EXAMINE
command."
(let ((open-result t))
(when (and server
(not (nnimap-server-opened server)))
- (setq open-result (nnimap-open-server server nil no-reconnect)))
+ (let ((method (gnus-server-to-method server)))
+ (setq open-result (nnimap-open-server (nth 1 method) (nthcdr 2 method)
+ no-reconnect))))
(cond
((not open-result)
nil)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 9dc77e3: Fix gnus-group-get-new-news-this-group on group with closed server,
Andreas Schwab <=