]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/lispref/parsing.texi: Add manual for treesit-query-language.
authorYuan Fu <casouri@gmail.com>
Thu, 13 Oct 2022 21:40:38 +0000 (14:40 -0700)
committerYuan Fu <casouri@gmail.com>
Thu, 13 Oct 2022 21:40:38 +0000 (14:40 -0700)
doc/lispref/parsing.texi

index c73175e3c37c4fcdb16c37a483bd5bf289546ea9..8b684d11fcd09b06c6d7956541abdb13fcad2c20 100644 (file)
@@ -1188,6 +1188,10 @@ malformed.  The signal data contains a description of the specific
 error.  You can use @code{treesit-query-validate} to debug the query.
 @end defun
 
+@defun treesit-query-language query
+This function return the language of @var{query}.
+@end defun
+
 @defun treesit-query-expand query
 This function expands the s-expression @var{query} into a string
 query.