[gnus git] branch master updated: n0-17-438-g14c571b =1= nnimap: fix an error when all articles UIDs change
Julien Danjou <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 14c571bbac8bee38d94dd5ea449007a0dd1498c4 (commit)
from 89a68cfae8cefd25eab8cc881888fb954be1d784 (commit)
- Log -----------------------------------------------------------------
commit 14c571bbac8bee38d94dd5ea449007a0dd1498c4
Author: Julien Danjou <[email protected]>
Date: Wed Jan 4 10:20:39 2012 +0100
nnimap: fix an error when all articles UIDs change
Signed-off-by: Julien Danjou <[email protected]>
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 02e1264..d147706 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-04 Julien Danjou <[email protected]>
+
+ * nnimap.el (nnimap-update-info): Fix an error when all articles UIDs
+ change.
+
2012-01-04 Lars Magne Ingebrigtsen <[email protected]>
* shr.el (shr-rescale-image): Add :ascent 100 to the rescaled picture,
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 32319f7..0b0fc91 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -1332,7 +1332,8 @@ textual parts.")
(cdr (assq 'uidvalidity (gnus-info-params info)))))
(and old-uidvalidity
(not (equal old-uidvalidity uidvalidity))
- (> start-article 1)))
+ (or (not start-article)
+ (> start-article 1))))
(gnus-group-remove-parameter info 'uidvalidity)
(gnus-group-remove-parameter info 'modseq))
;; We have the data needed to update.
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 5 +++++
lisp/nnimap.el | 3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project