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