Function: c-put-syntax-table-properties-on-char-trim-caches
c-put-syntax-table-properties-on-char-trim-caches is a macro defined
in cc-defs.el.gz.
Signature
(c-put-syntax-table-properties-on-char-trim-caches FROM TO VALUE CHAR)
Documentation
Put a syntax-table text property with value VALUE on all characters
with value CHAR in the region [FROM to), and invalidate the four caches
from the first position, if any, where a property was put.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-defs.el.gz
(defmacro c-put-syntax-table-properties-on-char-trim-caches
(from to value char)
"Put a `syntax-table' text property with value VALUE on all characters
with value CHAR in the region [FROM to), and invalidate the four caches
from the first position, if any, where a property was put."
(declare (debug t))
`(let ((first (c-put-char-properties-on-char
,from ,to 'syntax-table ,value ,char)))
(when first
(c-truncate-lit-pos/state-cache first))))