From 1ae314dfda1a7746fb31957ac3eedefd70b3c1fe Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Mon, 7 Nov 2022 01:27:49 -0800 Subject: [PATCH] ; Documentation fixes for tree-sitter * doc/lispref/parsing.texi (Multiple Languages): Resolve the FIXME. --- doc/lispref/parsing.texi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi index a7a8f8400b3..a22b088111d 100644 --- a/doc/lispref/parsing.texi +++ b/doc/lispref/parsing.texi @@ -1335,12 +1335,12 @@ getting ranges for a parser. Lisp programs should call @code{treesit-update-ranges} to make sure the ranges for each parser are correct before using parsers in a buffer, and call @code{treesit-language-at} to figure out the language -responsible for the text at some position. Multi-language major modes -set @code{treesit-range-settings} and -@c FIXME: ``power''? -@code{treesit-language-at-point-function} respectively to power these -two functions. These functions and variables are explained in more -detail towards the end of the section. +responsible for the text at some position. These two functions don't +work by themselves, they need major modes to set +@code{treesit-range-settings} and +@code{treesit-language-at-point-function}, which do the actual work. +These functions and variables are explained in more detail towards the +end of the section. @heading Getting and setting ranges -- 2.39.5