]> git.eshelyaron.com Git - emacs.git/commitdiff
; * doc/lispref/parsing.texi (Using Parser): Fix wording.
authorEli Zaretskii <eliz@gnu.org>
Wed, 9 Jul 2025 12:43:00 +0000 (15:43 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 24 Jul 2025 07:54:40 +0000 (09:54 +0200)
(cherry picked from commit 115a4fd940beadef72208c0137eb90fc76cefc32)

doc/lispref/parsing.texi

index 91dc5d35e5444486808bf7faa029c32c3425f463..977d29f14ef73f8758719cb066bf6905055e1e05 100644 (file)
@@ -577,10 +577,10 @@ A lisp program can also choose to force a parser to reparse and get the
 changed regions immediately with @code{treesit-parser-changed-regions}.
 
 @defun treesit-parser-changed-regions parser
-This function force @var{parser} to reparse, and return the affected
+This function forces @var{parser} to reparse, and returns the affected
 regions: a list of @w{@code{(@var{start} . @var{end})}}.  If the parser
-has nothing new to reparse, or the affected regions are empty,
-@code{nil} is returned.
+has nothing new to reparse, or the affected regions are empty, this
+function returns @code{nil}.
 @end defun