Function: cperl-font-lock-syntactic-face-function

cperl-font-lock-syntactic-face-function is a byte-compiled function defined in cperl-mode.el.gz.

Signature

(cperl-font-lock-syntactic-face-function STATE)

Documentation

Apply faces according to their syntax type.

In CPerl mode, this is used for here-documents which have been marked as c-style comments. For everything else, delegate to the default function.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cperl-mode.el.gz
(defun cperl-font-lock-syntactic-face-function (state)
  "Apply faces according to their syntax type.
In CPerl mode, this is used for here-documents which have been
marked as c-style comments.  For everything else, delegate to the
default function."
  (cond
   ;; A c-style comment is a HERE-document.  Fontify if requested.
   ((and (eq 2 (nth 7 state))
         cperl-pod-here-fontify)
    cperl-here-face)
   (t (funcall (default-value 'font-lock-syntactic-face-function) state))))