From: Sean Whitton Date: Wed, 9 Jul 2025 10:46:38 +0000 (+0100) Subject: ; * lisp/treesit.el (treesit-parser-changed-regions): Declare. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=50f79ee265c57936591c47a101c85f69dcb80ec0;p=emacs.git ; * lisp/treesit.el (treesit-parser-changed-regions): Declare. (cherry picked from commit 8497cfeaeac832ff98730388567526a42b321d85) --- diff --git a/lisp/treesit.el b/lisp/treesit.el index 6e1e339bfc9..3d1134e512a 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -2069,6 +2069,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))