From 0ee3f036c4ee716742eb721329b368fb1d83b85b Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Mon, 24 Jun 2024 19:27:54 -0700 Subject: [PATCH] ; * lisp/treesit.el (treesit--syntax-propertize-start): Fix doc. (cherry picked from commit 2ba39a30bf4fbe90b5b5e16a50dc7090a42b759b) --- lisp/treesit.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/treesit.el b/lisp/treesit.el index ee67c2349f9..b9661f53601 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -1396,9 +1396,8 @@ non-nil, print debugging information." "If non-nil, next `syntax-propertize' should start at this position. When tree-sitter parser reparses, it calls -`treesit--syntax-propertize-notifier' with the affected region, -and that function sets this variable to the start of the affected -region.") +`treesit--font-lock-mark-ranges-to-fontify' with the changed ranges, and +that function sets this variable to the start of the changed ranges.") (defvar-local treesit--pre-redisplay-tick nil "The last `buffer-chars-modified-tick' that we've processed. -- 2.39.2