Function: nnselect-generate-artlist
nnselect-generate-artlist is a byte-compiled function defined in
nnselect.el.gz.
Signature
(nnselect-generate-artlist GROUP &optional SPECS)
Documentation
Generate the artlist for GROUP using SPECS.
SPECS should be an alist including an nnselect-function and an
nnselect-args. The former applied to the latter should create
the artlist. If SPECS is nil retrieve the specs from the group
parameters.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnselect.el.gz
(defun nnselect-generate-artlist (group &optional specs)
"Generate the artlist for GROUP using SPECS.
SPECS should be an alist including an `nnselect-function' and an
`nnselect-args'. The former applied to the latter should create
the artlist. If SPECS is nil retrieve the specs from the group
parameters."
(let* ((specs
(or specs (gnus-group-get-parameter group 'nnselect-specs t)))
(function (alist-get 'nnselect-function specs))
(args (alist-get 'nnselect-args specs)))
(condition-case-unless-debug err
(funcall function args)
;; Don't swallow gnus-search errors; the user should be made
;; aware of them.
(gnus-search-error
(signal (car err) (cdr err)))
(error
(gnus-error
3
"nnselect-generate-artlist: %s on %s gave error %s" function args err)
[]))))