[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 0a61e4e2b7 5/5: ; * doc/lispref/parsing.texi (Using Parser): Mi
From: |
Yuan Fu |
Subject: |
emacs-29 0a61e4e2b7 5/5: ; * doc/lispref/parsing.texi (Using Parser): Minor improvement. |
Date: |
Wed, 28 Dec 2022 18:57:48 -0500 (EST) |
branch: emacs-29
commit 0a61e4e2b7189679df8ab3617e174b8b36afcf80
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; * doc/lispref/parsing.texi (Using Parser): Minor improvement.
---
doc/lispref/parsing.texi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi
index b7199f071b..86b3bd54e7 100644
--- a/doc/lispref/parsing.texi
+++ b/doc/lispref/parsing.texi
@@ -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