]> git.eshelyaron.com Git - emacs.git/commitdiff
; * doc/lispref/parsing.texi: Minor touch-up.
authorYuan Fu <yuan@debian-BULLSEYE-live-builder-AMD64>
Fri, 19 Aug 2022 07:33:27 +0000 (00:33 -0700)
committerYuan Fu <yuan@debian-BULLSEYE-live-builder-AMD64>
Fri, 19 Aug 2022 07:33:27 +0000 (00:33 -0700)
doc/lispref/parsing.texi

index 8df14b12b735936584249f4ebeb2aedb12c7aea6..917779f78a3405aee60056bce93087d3a74b9113 100644 (file)
@@ -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