Variable: font-lock-syntactic-face-function

font-lock-syntactic-face-function is a variable defined in font-lock.el.gz.

Value

#[257 "\3028\203�\207	\207"
      [font-lock-string-face font-lock-comment-face 3]
      3 "\n\n(fn STATE)"]

Documentation

Function to determine which face to use when fontifying syntactically.

The function is called with a single parameter (the state as returned by parse-partial-sexp at the beginning of the region to highlight) and should return a face. This is normally set via font-lock-defaults.

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/font-lock.el.gz
(defvar font-lock-syntactic-face-function
  (lambda (state)
    (if (nth 3 state) font-lock-string-face font-lock-comment-face))
  "Function to determine which face to use when fontifying syntactically.
The function is called with a single parameter (the state as returned by
`parse-partial-sexp' at the beginning of the region to highlight) and
should return a face.  This is normally set via `font-lock-defaults'.")