Function: js--flush-caches

js--flush-caches is an interactive and byte-compiled function defined in js.el.gz.

Signature

(js--flush-caches &optional BEG IGNORED)

Documentation

Flush the js-mode syntax cache after position BEG.

BEG defaults to point-min, meaning to flush the entire cache.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defun js--flush-caches (&optional beg _ignored)
  "Flush the `js-mode' syntax cache after position BEG.
BEG defaults to `point-min', meaning to flush the entire cache."
  (interactive)
  (setq beg (or beg (save-restriction (widen) (point-min))))
  (setq js--cache-end (min js--cache-end beg)))