Variable: treesit--pre-redisplay-tick

treesit--pre-redisplay-tick is a buffer-local variable defined in treesit.el.gz.

Documentation

The last buffer-chars-modified-tick that we've processed.

Because pre-redisplay-functions could be called multiple times during a single command loop, we use this variable to debounce calls to treesit--pre-redisplay.

Source Code

;; Defined in /usr/src/emacs/lisp/treesit.el.gz
(defvar-local treesit--pre-redisplay-tick nil
  "The last `buffer-chars-modified-tick' that we've processed.
Because `pre-redisplay-functions' could be called multiple times
during a single command loop, we use this variable to debounce
calls to `treesit--pre-redisplay'.")