[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102997: gnus-sum.el (gnus-summary-re
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102997: gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no messages" logic, which was reversed. |
Date: |
Thu, 27 Jan 2011 23:56:27 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102997
author: Lars Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Thu 2011-01-27 23:56:27 +0000
message:
gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no messages"
logic, which was reversed.
modified:
lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2011-01-27 23:42:38 +0000
+++ b/lisp/gnus/ChangeLog 2011-01-27 23:56:27 +0000
@@ -1,5 +1,8 @@
2011-01-27 Lars Ingebrigtsen <address@hidden>
+ * 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
=== modified file 'lisp/gnus/gnus-sum.el'
--- a/lisp/gnus/gnus-sum.el 2011-01-27 04:04:58 +0000
+++ b/lisp/gnus/gnus-sum.el 2011-01-27 23:56:27 +0000
@@ -3939,11 +3939,9 @@
(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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102997: gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no messages" logic, which was reversed.,
Katsumi Yamaoka <=