emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 09b5f00613: ; Fix calls to treesit functions


From: Theodor Thornhill
Subject: Re: master 09b5f00613: ; Fix calls to treesit functions
Date: Mon, 19 Dec 2022 14:47:24 +0100

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Mon, 19 Dec 2022 07:26:35 +0100
>> From: Theodor Thornhill <theo@thornhill.no>
>> 
>> How about treesit-ensure, that checks treesit-available-p and whether it's 
>> enabled for the current mode? The treesit-parser-list is also kind of 
>> working just by accident, as it isn't its job to ensure availability.
>
> Isn't that what treesit-language-available-p already does?

Yeah, but I don't want to check for a particular language, only that
subsequent calls to treesit-functions will be available.

Theo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]