Function: gnus-summary-limit-to-predicate
gnus-summary-limit-to-predicate is a byte-compiled function defined in
gnus-sum.el.gz.
Signature
(gnus-summary-limit-to-predicate PREDICATE)
Documentation
Limit to articles where PREDICATE returns non-nil.
PREDICATE will be called with the header structures of the articles.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-limit-to-predicate (predicate)
"Limit to articles where PREDICATE returns non-nil.
PREDICATE will be called with the header structures of the
articles."
(let ((articles nil)
(case-fold-search t))
(dolist (header gnus-newsgroup-headers)
(when (funcall predicate header)
(push (mail-header-number header) articles)))
(gnus-summary-limit (nreverse articles))))