Function: gnus-summary-catchup-to-here

gnus-summary-catchup-to-here is an interactive and byte-compiled function defined in gnus-sum.el.gz.

Signature

(gnus-summary-catchup-to-here &optional ALL)

Documentation

Mark all unticked articles before the current one as read.

If ALL is non-nil, also mark ticked and dormant articles as read.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-catchup-to-here (&optional all)
  "Mark all unticked articles before the current one as read.
If ALL is non-nil, also mark ticked and dormant articles as read."
  (interactive "P" gnus-summary-mode)
  (save-excursion
    (gnus-save-hidden-threads
      (let ((beg (point)))
	;; We check that there are unread articles.
	(when (or all (gnus-summary-find-prev))
	  (gnus-summary-catchup all t beg)))))
  (gnus-summary-position-point))