diff options
| author | Lars Ingebrigtsen | 2011-01-27 23:56:27 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-01-27 23:56:27 +0000 |
| commit | 8937ef6e5e4dc50227bfde55a640d59311b5eafb (patch) | |
| tree | 517335655bb5d2285355e2a23602fc5ed8e54ae4 | |
| parent | 372fb76be972e1d8769a83331da3b87632b423b3 (diff) | |
| download | emacs-8937ef6e5e4dc50227bfde55a640d59311b5eafb.tar.gz emacs-8937ef6e5e4dc50227bfde55a640d59311b5eafb.zip | |
gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no messages" logic, which was reversed.
| -rw-r--r-- | lisp/gnus/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 2bb58c98fec..3970f61d049 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org> | 1 | 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no | ||
| 4 | messages" logic, which was reversed. | ||
| 5 | |||
| 3 | * gnus-art.el (article-update-date-lapsed): Ensure that point stays at | 6 | * gnus-art.el (article-update-date-lapsed): Ensure that point stays at |
| 4 | the "same place" even if point is on the line being replaced. | 7 | the "same place" even if point is on the line being replaced. |
| 5 | (article-update-date-lapsed): Allow updating both the combined lapsed | 8 | (article-update-date-lapsed): Allow updating both the combined lapsed |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index e709b71a5b0..8ee5964689e 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -3939,11 +3939,9 @@ If NO-DISPLAY, don't generate a summary buffer." | |||
| 3939 | (gnus-group-jump-to-group group) | 3939 | (gnus-group-jump-to-group group) |
| 3940 | (gnus-group-next-unread-group 1)) | 3940 | (gnus-group-next-unread-group 1)) |
| 3941 | (gnus-handle-ephemeral-exit quit-config))) | 3941 | (gnus-handle-ephemeral-exit quit-config))) |
| 3942 | (let ((grpinfo (gnus-get-info group))) | 3942 | (if (null (gnus-list-of-unread-articles group)) |
| 3943 | (if (null (gnus-info-read grpinfo)) | 3943 | (gnus-message 3 "Group %s contains no messages" group) |
| 3944 | (gnus-message 3 "Group %s contains no messages" | 3944 | (gnus-message 3 "Can't select group")) |
| 3945 | (gnus-group-decoded-name group)) | ||
| 3946 | (gnus-message 3 "Can't select group"))) | ||
| 3947 | nil) | 3945 | nil) |
| 3948 | ;; The user did a `C-g' while prompting for number of articles, | 3946 | ;; The user did a `C-g' while prompting for number of articles, |
| 3949 | ;; so we exit this group. | 3947 | ;; so we exit this group. |