Function: c-foreign-truncate-lit-pos-cache

c-foreign-truncate-lit-pos-cache is a byte-compiled function defined in cc-engine.el.gz.

Signature

(c-foreign-truncate-lit-pos-cache BEG END)

Documentation

Truncate CC Mode's literal cache.

This function should be added to the before-change-functions hook by major modes that use CC Mode's filling functionality without initializing CC Mode. Currently (2020-06) these are js-mode and mhtml-mode.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defun c-foreign-truncate-lit-pos-cache (beg _end)
  "Truncate CC Mode's literal cache.

This function should be added to the `before-change-functions'
hook by major modes that use CC Mode's filling functionality
without initializing CC Mode.  Currently (2020-06) these are
`js-mode' and `mhtml-mode'."
  (c-truncate-lit-pos-cache beg))