Function: gnus-summary-iterate

gnus-summary-iterate is a macro defined in gnus-sum.el.gz.

Signature

(gnus-summary-iterate ARG &rest FORMS)

Documentation

Iterate over the process/prefixed articles and do FORMS.

ARG is the interactive prefix given to the command. FORMS will be executed with point over the summary line of the articles.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defmacro gnus-summary-iterate (arg &rest forms)
  "Iterate over the process/prefixed articles and do FORMS.
ARG is the interactive prefix given to the command.  FORMS will be
executed with point over the summary line of the articles."
  (declare (indent 1) (debug t))
  (let ((articles (make-symbol "gnus-summary-iterate-articles")))
    `(let ((,articles (gnus-summary-work-articles ,arg)))
       (while ,articles
	 (gnus-summary-goto-subject (car ,articles))
	 ,@forms
	 (pop ,articles)))))