Function: org-compatible-face
org-compatible-face is a byte-compiled function defined in
org-compat.el.gz.
This function is obsolete since 9.0; you can remove it.
Signature
(org-compatible-face INHERITS SPECS)
Documentation
Make a compatible face specification.
If INHERITS is an existing face and if the Emacs version supports it, just inherit the face. If INHERITS is not given and SPECS is, use SPECS to define the face.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-compat.el.gz
(defun org-compatible-face (inherits specs)
"Make a compatible face specification.
If INHERITS is an existing face and if the Emacs version supports
it, just inherit the face. If INHERITS is not given and SPECS
is, use SPECS to define the face."
(declare (indent 1))
(if (facep inherits)
(list (list t :inherit inherits))
specs))