projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7933ff
)
Fix gnus-group-get-new-news-this-group on group with closed server
author
Andreas Schwab
<schwab@linux-m68k.org>
Sun, 7 Feb 2016 12:29:16 +0000
(13:29 +0100)
committer
Andreas Schwab
<schwab@linux-m68k.org>
Sun, 7 Feb 2016 12:30:43 +0000
(13:30 +0100)
* lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
method and pass to nnimap-open-server.
lisp/gnus/nnimap.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/nnimap.el
b/lisp/gnus/nnimap.el
index c285befc760369dcf68ba51bf079c7149d751470..130658cd367f443b95d7642602fac2673e3363d9 100644
(file)
--- 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)