]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/treesit.el (treesit--syntax-propertize-start): Fix doc.
authorYuan Fu <casouri@gmail.com>
Tue, 25 Jun 2024 02:27:54 +0000 (19:27 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Jun 2024 13:31:58 +0000 (15:31 +0200)
(cherry picked from commit 2ba39a30bf4fbe90b5b5e16a50dc7090a42b759b)

lisp/treesit.el

index ee67c2349f9fc5296d760001c180d98b3589ae24..b9661f53601bfdce5791a5054d0961d9eba4e247 100644 (file)
@@ -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.