diff options
author | Alex Bochannek <alex@bochannek.com> | 2020-09-19 16:49:38 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-19 16:49:38 +0200 |
commit | 50b446a6b32166b15939d7285e35f70f1994b276 (patch) | |
tree | 303b111e3939259bcc463fa0131a7c0b899b0897 /lisp | |
parent | e79d1e151f19b9679fa9ffa32d12d917e322136a (diff) | |
download | emacs-50b446a6b32166b15939d7285e35f70f1994b276.tar.gz emacs-50b446a6b32166b15939d7285e35f70f1994b276.tar.bz2 emacs-50b446a6b32166b15939d7285e35f70f1994b276.zip |
Fix gnus-summary-catchup-from-here edge case
* lisp/gnus/gnus-sum.el (gnus-summary-catchup-from-here): Make the
command work in the final line in the buffer, too (bug#43496).
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/gnus/gnus-sum.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 2f0ea0c58f8..8e27a94e5b8 100644 --- 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)) |