1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-02 21:52:04 -08:00

; * lisp/treesit.el (treesit-parser-changed-regions): Declare.

This commit is contained in:
Sean Whitton 2025-07-09 11:46:38 +01:00
parent b03f11d9ac
commit 8497cfeaea

View file

@ -2073,6 +2073,8 @@ parser."
(signal 'treesit-no-parser nil))))
(car (treesit-parser-list))))
(declare-function treesit-parser-changed-regions "treesit.c")
(defun treesit--pre-redisplay (&rest _)
"Force a reparse on primary parser and mark regions to be fontified."
(unless (eq treesit--pre-redisplay-tick (buffer-chars-modified-tick))