Function: nnselect-get-artlist

nnselect-get-artlist is an autoloaded macro defined in nnselect.el.gz.

Signature

(nnselect-get-artlist GROUP)

Documentation

Get the list of articles for GROUP.

If the group parameter nnselect-get-artlist-override-function is non-nil call this function with argument GROUP to get the artlist; if the group parameter nnselect-always-regenerate is non-nil, regenerate the artlist; otherwise retrieve the artlist directly from the group parameters.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnselect.el.gz
(defmacro nnselect-get-artlist (group)
  "Get the list of articles for GROUP.
If the group parameter `nnselect-get-artlist-override-function' is
non-nil call this function with argument GROUP to get the
artlist; if the group parameter `nnselect-always-regenerate' is
non-nil, regenerate the artlist; otherwise retrieve the artlist
directly from the group parameters."
  `(when (gnus-nnselect-group-p ,group)
     (let ((override (gnus-group-get-parameter
		     ,group
		     'nnselect-get-artlist-override-function)))
       (cond
        (override (funcall override ,group))
        ((gnus-group-get-parameter ,group 'nnselect-always-regenerate)
         (nnselect-generate-artlist ,group))
        (t
	 (nnselect-uncompress-artlist
          (gnus-group-get-parameter ,group 'nnselect-artlist t)))))))