[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/tree-sitter e98b4715bb 4/5: ; * doc/lispref/parsing.texi: Minor
From: |
Yuan Fu |
Subject: |
feature/tree-sitter e98b4715bb 4/5: ; * doc/lispref/parsing.texi: Minor touch-up. |
Date: |
Mon, 29 Aug 2022 14:43:27 -0400 (EDT) |
branch: feature/tree-sitter
commit e98b4715bb986524bde9356b62429af9786ae716
Author: Yuan Fu <yuan@debian-BULLSEYE-live-builder-AMD64>
Commit: Yuan Fu <yuan@debian-BULLSEYE-live-builder-AMD64>
; * doc/lispref/parsing.texi: Minor touch-up.
---
doc/lispref/parsing.texi | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi
index 8df14b12b7..917779f78a 100644
--- a/doc/lispref/parsing.texi
+++ b/doc/lispref/parsing.texi
@@ -388,7 +388,7 @@ size exceeds that, Emacs signals
@var{treesit-buffer-too-large}
with signal data being the buffer size.
Once a parser is created, Emacs automatically adds it to the
-buffer-local parser list. Every time a change is made to the buffer,
+internal parser list. Every time a change is made to the buffer,
Emacs updates parsers in this list so they can update their syntax
tree incrementally.
@@ -412,8 +412,9 @@ the mean to handle a multi-language buffer; instead, set
the ranges in
which a parser should operate in. @xref{Multiple Languages}.
Because a parser parses lazily, when we narrow the buffer, the parser
-doesn't act immediately; as long as we don't query for a node while
-the buffer is narrowed, narrowing does not affect the parser.
+is not affected immediately; as long as we don't query for a node
+while the buffer is narrowed, the parser is oblivious of the
+narrowing.
@cindex tree-sitter parse string
@defun treesit-parse-string string language