Function: face-nontrivial-p

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

Signature

(face-nontrivial-p FACE &optional FRAME)

Documentation

True if face FACE has some non-nil attribute.

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/lisp/faces.el.gz
(defun face-nontrivial-p (face &optional frame)
  "True if face FACE has some non-nil attribute.
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."
  (not (internal-lisp-face-empty-p face frame)))