Function: nnselect-store-artlist

nnselect-store-artlist is a macro defined in nnselect.el.gz.

Signature

(nnselect-store-artlist GROUP ARTLIST)

Documentation

Store the ARTLIST for GROUP.

If the group parameter nnselect-store-artlist-override-function is non-nil call this function on GROUP and ARTLIST; if the group parameter nnselect-always-regenerate is non-nil don't store the artlist; otherwise store the ARTLIST in the group parameters.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnselect.el.gz
(defmacro nnselect-store-artlist  (group artlist)
  "Store the ARTLIST for GROUP.
If the group parameter `nnselect-store-artlist-override-function'
is non-nil call this function on GROUP and ARTLIST; if the group
parameter `nnselect-always-regenerate' is non-nil don't store the
artlist; otherwise store the ARTLIST in the group parameters."
  `(let ((override (gnus-group-get-parameter
		    ,group
		    'nnselect-store-artlist-override-function)))
     (cond
      (override	 (funcall override ,group ,artlist))
      ((gnus-group-get-parameter ,group 'nnselect-always-regenerate) t)
      (t
       (gnus-group-set-parameter ,group 'nnselect-artlist
                                 (nnselect-compress-artlist ,artlist))))))