; * doc/lispref/parsing.texi (Using Parser): Minor improvement.

This commit is contained in:
Yuan Fu 2022-12-28 15:54:51 -08:00
parent 398ed75c27
commit 0a61e4e2b7
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -505,7 +505,9 @@ notification.
Every time a parser reparses a buffer, it compares the old and new
parse-tree, computes the ranges in which nodes have changed, and
passes the ranges to notifier functions.
passes the ranges to notifier functions. Note that the initial parse
is also considered a ``change'', so notifier functions are called on
the initial parse, with range being the whole buffer.
@defun treesit-parser-add-notifier parser function
This function adds @var{function} to @var{parser}'s list of