Function: face-underline-p
face-underline-p is a byte-compiled function defined in faces.el.gz.
Signature
(face-underline-p FACE &optional FRAME INHERIT)
Documentation
Return non-nil if FACE specifies a non-nil underlining.
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.
Optional argument INHERIT is passed to face-attribute.
Source Code
;; Defined in /usr/src/emacs/lisp/faces.el.gz
(defun face-underline-p (face &optional frame inherit)
"Return non-nil if FACE specifies a non-nil underlining.
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.
Optional argument INHERIT is passed to `face-attribute'."
(face-attribute-specified-or
(face-attribute face :underline frame inherit) nil))