Function: nnselect-get-artlist

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

Signature

(nnselect-get-artlist GROUP)

Documentation

Get the stored 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, return nil to regenerate the artlist; otherwise retrieve the stored artlist from the group parameters.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnselect.el.gz
(defmacro nnselect-get-artlist (group)
  "Get the stored 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, return nil to regenerate the artlist; otherwise retrieve
the stored artlist 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)
         nil)
        (t
         (nnselect-uncompress-artlist
          (gnus-group-get-parameter ,group 'nnselect-artlist t)))))))