Function: internal-lisp-face-empty-p
internal-lisp-face-empty-p is a function defined in xfaces.c.
Signature
(internal-lisp-face-empty-p FACE &optional FRAME)
Documentation
True if FACE has no attribute specified.
If the optional argument FRAME is given, report on face FACE in that frame. If FRAME is t, report on the defaults for face FACE (for new frames). If FRAME is omitted or nil, use the selected frame.
Source Code
// Defined in /usr/src/emacs/src/xfaces.c
{
struct frame *f = EQ (frame, Qt) ? NULL : decode_live_frame (frame);
Lisp_Object lface = lface_from_face_name (f, face, true);
int i;
for (i = 1; i < LFACE_VECTOR_SIZE; ++i)
if (!UNSPECIFIEDP (AREF (lface, i)))
break;
return i == LFACE_VECTOR_SIZE ? Qt : Qnil;
}