From d882755df4d6b629c2e1c2d28fcbecaeb40c3e8d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 18 Jan 2025 09:18:09 +0200 Subject: [PATCH] ; * doc/lispref/parsing.texi (Pattern Matching): Fix punctuation. (cherry picked from commit d6151e9da5459c316b2f2e0407ecbf4f20c9a66c) --- doc/lispref/parsing.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi index f69dbfece6a..22186d44400 100644 --- a/doc/lispref/parsing.texi +++ b/doc/lispref/parsing.texi @@ -1550,7 +1550,7 @@ There are some additional functions for queries: string format; and @code{treesit-pattern-expand} converts a pattern. @findex treesit-query-first-valid -Tree-sitter grammars change overtime. To support multiple possible +Tree-sitter grammars change overtime. To support multiple possible versions of a grammar, a Lisp program can use @code{treesit-query-first-valid} to pick the right query to use. For example, if a grammar has a @code{(defun)} node in one version, and @@ -1567,7 +1567,7 @@ later renamed it to @code{(function_definition)}, a Lisp program can use to support both versions of the grammar. For more details, consider reading the tree-sitter project's -documentation about pattern-matching. The documentation can be found at +documentation about pattern-matching. The documentation can be found at @uref{https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries}. @node User-defined Things -- 2.39.5