Function: rmail-message-attr-p

rmail-message-attr-p is a byte-compiled function defined in rmail.el.gz.

Signature

(rmail-message-attr-p MSG ATTRS)

Documentation

Return non-nil if message number MSG has attributes matching regexp ATTRS.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
(defun rmail-message-attr-p (msg attrs)
  "Return non-nil if message number MSG has attributes matching regexp ATTRS."
  (let ((value (rmail-get-header rmail-attribute-header msg)))
    (and value (string-match attrs value))))