diff options
| author | Yuan Fu | 2022-12-28 15:54:51 -0800 |
|---|---|---|
| committer | Yuan Fu | 2022-12-28 15:54:51 -0800 |
| commit | 0a61e4e2b7189679df8ab3617e174b8b36afcf80 (patch) | |
| tree | b00b28cd69fcfe6ae2abcc95a83aa9b4fec7829c /doc | |
| parent | 398ed75c276d7e4de583a9de750a777173252e77 (diff) | |
| download | emacs-0a61e4e2b7189679df8ab3617e174b8b36afcf80.tar.gz emacs-0a61e4e2b7189679df8ab3617e174b8b36afcf80.zip | |
; * doc/lispref/parsing.texi (Using Parser): Minor improvement.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/parsing.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi index b7199f071bc..86b3bd54e7c 100644 --- a/doc/lispref/parsing.texi +++ b/doc/lispref/parsing.texi | |||
| @@ -505,7 +505,9 @@ notification. | |||
| 505 | 505 | ||
| 506 | Every time a parser reparses a buffer, it compares the old and new | 506 | Every time a parser reparses a buffer, it compares the old and new |
| 507 | parse-tree, computes the ranges in which nodes have changed, and | 507 | parse-tree, computes the ranges in which nodes have changed, and |
| 508 | passes the ranges to notifier functions. | 508 | passes the ranges to notifier functions. Note that the initial parse |
| 509 | is also considered a ``change'', so notifier functions are called on | ||
| 510 | the initial parse, with range being the whole buffer. | ||
| 509 | 511 | ||
| 510 | @defun treesit-parser-add-notifier parser function | 512 | @defun treesit-parser-add-notifier parser function |
| 511 | This function adds @var{function} to @var{parser}'s list of | 513 | This function adds @var{function} to @var{parser}'s list of |