Function: spam-backend-list
spam-backend-list is a byte-compiled function defined in spam.el.gz.
Signature
(spam-backend-list &optional TYPE)
Documentation
Return a list of all the backend symbols, constrained by TYPE.
When TYPE is non-mover, only non-mover backends are returned.
When TYPE is mover, only mover backends are returned.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/spam.el.gz
(defun spam-backend-list (&optional type)
"Return a list of all the backend symbols, constrained by TYPE.
When TYPE is `non-mover', only non-mover backends are returned.
When TYPE is `mover', only mover backends are returned."
(let (list)
(dolist (backend spam-backends)
(when (or
(null type) ;either no type was requested
;; or the type is 'mover and the backend is a mover
(and
(eq type 'mover)
(spam-backend-mover-p backend))
;; or the type is 'non-mover and the backend is not a mover
(and
(eq type 'non-mover)
(not (spam-backend-mover-p backend))))
(push backend list)))
list))