Function: reftex-verified-face

reftex-verified-face is a byte-compiled function defined in reftex.el.gz.

Signature

(reftex-verified-face &rest FACES)

Documentation

Return the first valid face in FACES, or nil if none is valid.

Also, when finding a nil element in FACES, return nil. This function is just a safety net to catch name changes of builtin fonts. Currently it is only used for reftex-label-face.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex.el.gz
(defun reftex-verified-face (&rest faces)
  "Return the first valid face in FACES, or nil if none is valid.
Also, when finding a nil element in FACES, return nil.  This
function is just a safety net to catch name changes of builtin
fonts.  Currently it is only used for reftex-label-face."
  (let (face)
    (catch 'exit
      (while (setq face (pop faces))
        (if (facep face) (throw 'exit face))))))