Function: cperl-postpone-fontification
cperl-postpone-fontification is a byte-compiled function defined in
cperl-mode.el.gz.
Signature
(cperl-postpone-fontification B E TYPE VAL &optional NOW)
Documentation
Prepare text between B and E for postponed fontification.
TYPE is now always the symbol face, VAL is the value (the actual face)
to be applied. This works by adding a text property cperl-postpone to
the range, which later is evaluated in the function
cperl-fontify-update which is inserted into the font-lock-defaults.
If cperl-syntaxify-by-font-lock is nil (which is not recommended),
then the text property TYPE is immediately set to VAL.
NOW is no longer useful.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cperl-mode.el.gz
(defsubst cperl-postpone-fontification (b e type val &optional now)
"Prepare text between B and E for postponed fontification.
TYPE is now always the symbol `face', VAL is the value (the actual face)
to be applied. This works by adding a text property `cperl-postpone' to
the range, which later is evaluated in the function
`cperl-fontify-update' which is inserted into the `font-lock-defaults'.
If `cperl-syntaxify-by-font-lock' is nil (which is not recommended),
then the text property TYPE is immediately set to VAL.
NOW is no longer useful."
(if cperl-syntaxify-by-font-lock
(or now (put-text-property b e 'cperl-postpone (cons type val)))
(put-text-property b e type val)))