Function: face-equal
face-equal is a byte-compiled function defined in faces.el.gz.
Signature
(face-equal FACE1 FACE2 &optional FRAME)
Documentation
Non-nil if faces FACE1 and FACE2 are equal.
Faces are considered equal if all their attributes are equal. If optional argument FRAME is given, report on FACE1 and FACE2 in that frame. If FRAME is t, report on the defaults for FACE1 and FACE2 (for new frames). If FRAME is omitted or nil, use the selected frame.
Source Code
;; Defined in /usr/src/emacs/lisp/faces.el.gz
(defun face-equal (face1 face2 &optional frame)
"Non-nil if faces FACE1 and FACE2 are equal.
Faces are considered equal if all their attributes are equal.
If optional argument FRAME is given, report on FACE1 and FACE2 in that frame.
If FRAME is t, report on the defaults for FACE1 and FACE2 (for new frames).
If FRAME is omitted or nil, use the selected frame."
(internal-lisp-face-equal-p face1 face2 frame))