Function: mh-face-data
mh-face-data is a byte-compiled function defined in mh-e.el.gz.
Signature
(mh-face-data FACE &optional INHERIT)
Documentation
Return spec for FACE.
See defface for the spec definition.
If INHERIT is non-nil and defface supports the :inherit
keyword, return INHERIT literally; otherwise, return spec for
FACE from the variable mh-face-data(var)/mh-face-data(fun). This isn't a perfect
implementation. In the case that the :inherit keyword is not
supported, any additional attributes in the inherit parameter are
not added to the returned spec.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-e.el.gz
(defun mh-face-data (face &optional inherit)
"Return spec for FACE.
See `defface' for the spec definition.
If INHERIT is non-nil and `defface' supports the :inherit
keyword, return INHERIT literally; otherwise, return spec for
FACE from the variable `mh-face-data'. This isn't a perfect
implementation. In the case that the :inherit keyword is not
supported, any additional attributes in the inherit parameter are
not added to the returned spec."
(or inherit
(cadr (assq face mh-face-data))
(error "Could not find %s in mh-face-data" face)))