Function: mh-face-foreground
mh-face-foreground is a function alias for face-foreground, defined in
faces.el.gz.
This function is obsolete since 29.1; use face-foreground instead.
Signature
(mh-face-foreground FACE &optional FRAME INHERIT)
Documentation
Return the foreground color name of FACE, or nil if unspecified.
On TTY frames, the returned color name can be "unspecified-fg", which stands for the unknown default foreground color of the display where the frame is displayed. 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.
If INHERIT is nil, only a foreground color directly defined by FACE is
considered, so the return value may be nil.
If INHERIT is t, and FACE doesn't define a foreground color, then any
foreground color that FACE inherits through its :inherit attribute
is considered as well; however the return value may still be nil.
If INHERIT is a face or a list of faces, then it is used to try to
resolve an unspecified foreground color, in addition to using any
inherited color.
To ensure that a valid color is always returned, use a value of
default for INHERIT; this will resolve any unspecified values by
merging with the default face (which is always completely specified).
Aliases
mh-face-foreground (obsolete since 29.1)