Function: gnus-group-iterate

gnus-group-iterate is an autoloaded and byte-compiled function defined in gnus-group.el.gz.

Signature

(gnus-group-iterate ARG FUNCTION)

Documentation

Iterate FUNCTION over all process/prefixed groups.

FUNCTION will be called with the group name as the parameter and with point over the group in question.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
(defun gnus-group-iterate (arg function)
  "Iterate FUNCTION over all process/prefixed groups.
FUNCTION will be called with the group name as the parameter
and with point over the group in question."
  (declare (indent 1))
  (let ((window (selected-window)))
    (dolist (group (gnus-group-process-prefix arg))
      (select-window window)
      (gnus-group-remove-mark group)
      (save-selected-window
	(save-excursion
	  (funcall function group))))))