Function: cperl-put-do-not-fontify

cperl-put-do-not-fontify is a byte-compiled function defined in cperl-mode.el.gz.

Signature

(cperl-put-do-not-fontify FROM TO &optional POST)

Documentation

Pretend that text between FROM and TO is already fontified.

If POST, do not do it with postponed fontification

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cperl-mode.el.gz
(defsubst cperl-put-do-not-fontify (from to &optional post)
  "Pretend that text between FROM and TO is already fontified.
If POST, do not do it with postponed fontification"
  (if (and post cperl-syntaxify-by-font-lock)
      nil
    (put-text-property (max (point-min) (1- from))
                       to 'fontified t)))