projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e79d1e1
)
Fix gnus-summary-catchup-from-here edge case
author
Alex Bochannek
<alex@bochannek.com>
Sat, 19 Sep 2020 14:49:38 +0000
(16:49 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 19 Sep 2020 14:49:38 +0000
(16:49 +0200)
* lisp/gnus/gnus-sum.el (gnus-summary-catchup-from-here): Make the
command work in the final line in the buffer, too (bug#43496).
lisp/gnus/gnus-sum.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-sum.el
b/lisp/gnus/gnus-sum.el
index 2f0ea0c58f8c2a9fd18b21dc260aef8662d22ee7..8e27a94e5b87e60bf4745cd141d6a8e830c0722e 100644
(file)
--- a/
lisp/gnus/gnus-sum.el
+++ b/
lisp/gnus/gnus-sum.el
@@
-11537,7
+11537,7
@@
If ALL is non-nil, also mark ticked and dormant articles as read."
(gnus-save-hidden-threads
(let ((beg (point)))
;; We check that there are unread articles.
- (when (or all (gnus-summary-find-next))
+ (when (or all (gnus-summary-
last-article-p) (gnus-summary-
find-next))
(gnus-summary-catchup all t beg nil t)))))
(gnus-summary-position-point))