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

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

Signature

(c-foreign-init-lit-pos-cache)

Documentation

Initialize CC Mode's literal cache.

This function should be called from the mode functions of major modes which 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-init-lit-pos-cache ()
  "Initialize CC Mode's literal cache.

This function should be called from the mode functions of major
modes which 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 1))