Function: face-spec-match-p

face-spec-match-p is a byte-compiled function defined in faces.el.gz.

Signature

(face-spec-match-p FACE SPEC &optional FRAME)

Documentation

Return t if FACE, on FRAME, matches what SPEC says it should look like.

Source Code

;; Defined in /usr/src/emacs/lisp/faces.el.gz
(defsubst face-spec-match-p (face spec &optional frame)
  "Return t if FACE, on FRAME, matches what SPEC says it should look like."
  (face-attr-match-p face (face-spec-choose spec frame) frame))