2011-01-27 Lars Ingebrigtsen <larsi@gnus.org>
+ * gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no
+ messages" logic, which was reversed.
+
* gnus-art.el (article-update-date-lapsed): Ensure that point stays at
the "same place" even if point is on the line being replaced.
(article-update-date-lapsed): Allow updating both the combined lapsed
(gnus-group-jump-to-group group)
(gnus-group-next-unread-group 1))
(gnus-handle-ephemeral-exit quit-config)))
- (let ((grpinfo (gnus-get-info group)))
- (if (null (gnus-info-read grpinfo))
- (gnus-message 3 "Group %s contains no messages"
- (gnus-group-decoded-name group))
- (gnus-message 3 "Can't select group")))
+ (if (null (gnus-list-of-unread-articles group))
+ (gnus-message 3 "Group %s contains no messages" group)
+ (gnus-message 3 "Can't select group"))
nil)
;; The user did a `C-g' while prompting for number of articles,
;; so we exit this group.