Function: gnus-make-predicate

gnus-make-predicate is a byte-compiled function defined in gnus-util.el.gz.

Signature

(gnus-make-predicate SPEC)

Documentation

Transform SPEC into a function that can be called.

SPEC is a predicate specifier that contains stuff like or, and, not, lists and functions. The functions all take one parameter.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-util.el.gz
(defun gnus-make-predicate (spec)
  "Transform SPEC into a function that can be called.
SPEC is a predicate specifier that contains stuff like `or', `and',
`not', lists and functions.  The functions all take one parameter."
  `(lambda (elem) ,(gnus-make-predicate-1 spec)))