summaryrefslogtreecommitdiff
path: root/lisp/gnus/nnimap.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2012-01-27 14:32:25 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2012-01-27 14:32:25 +0000
commit964646c45ae912f82520e858588d2dc0f7ff1864 (patch)
treea6205464064e4d3353e36358ba0ff2f21a751589 /lisp/gnus/nnimap.el
parent5d7d5e5d752116eeb1a740cd336da8dcca85e7ef (diff)
downloademacs-964646c45ae912f82520e858588d2dc0f7ff1864.tar.gz
Merge changes made in Gnus trunk
gnus-start.el (gnus-get-unread-articles): Clear out "early" methods so that previous errors don't prohibit getting new news. nnimap.el (nnimap-retrieve-group-data-early): Ditto. nntp.el (nntp-retrieve-group-data-early): Ditto.
Diffstat (limited to 'lisp/gnus/nnimap.el')
-rw-r--r--lisp/gnus/nnimap.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 0df7ffce671..afa4bdf3dbd 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -1213,7 +1213,8 @@ textual parts.")
t)))
(deffoo nnimap-retrieve-group-data-early (server infos)
- (when (nnimap-possibly-change-group nil server)
+ (when (and (nnimap-possibly-change-group nil server)
+ infos)
(with-current-buffer (nnimap-buffer)
(erase-buffer)
(setf (nnimap-group nnimap-object) nil)