From ce20088cf5c9ac69e2fff6fe79eb573cd0d5a740 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 9 Jul 2025 15:43:00 +0300 Subject: [PATCH] ; * doc/lispref/parsing.texi (Using Parser): Fix wording. (cherry picked from commit 115a4fd940beadef72208c0137eb90fc76cefc32) --- doc/lispref/parsing.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi index 91dc5d35e54..977d29f14ef 100644 --- a/doc/lispref/parsing.texi +++ b/doc/lispref/parsing.texi @@ -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 -- 2.39.5