Function: mh-face-foreground

mh-face-foreground is a macro defined in mh-compat.el.gz.

Signature

(mh-face-foreground FACE &optional FRAME INHERIT)

Documentation

Return the foreground color name of FACE, or nil if unspecified.

See documentation for face-foreground for a description of the arguments FACE, FRAME, and perhaps INHERIT. This macro is used by Emacs versions that lack an INHERIT argument, introduced in Emacs 22.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-compat.el.gz
(defmacro mh-face-foreground (face &optional frame inherit)
  "Return the foreground color name of FACE, or nil if unspecified.
See documentation for `face-foreground' for a description of the
arguments FACE, FRAME, and perhaps INHERIT.
This macro is used by Emacs versions that lack an INHERIT argument,
introduced in Emacs 22."
  (if (< emacs-major-version 22)
      `(face-foreground ,face ,frame)
    `(face-foreground ,face ,frame ,inherit)))