emacs-devel
[Top][All Lists]
Advanced

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

Re: `M-q' uses tree-sitter now?


From: Eli Zaretskii
Subject: Re: `M-q' uses tree-sitter now?
Date: Sun, 18 Dec 2022 20:37:54 +0200

> Date: Sun, 18 Dec 2022 19:08:30 +0100
> From: Theodor Thornhill <theo@thornhill.no>
> CC: emacs-devel@gnu.org, eduardoochs@gmail.com
> 
> 
> 
> On 18 December 2022 18:16:57 CET, Eli Zaretskii <eliz@gnu.org> wrote:
> >> Date: Sun, 18 Dec 2022 15:53:29 +0100
> >> From: Theodor Thornhill <theo@thornhill.no>
> >> 
> >> Strange. Shouldn't it be enough to put the require in the 
> >> eval-when-compile? Is anything else needed for the function to be picked 
> >> up?
> >
> >His Emacs was built without tree-sitter, would be my guess.  We need
> >to call treesit-available-p when this can happen, before calling any
> >treesit functions that might not be fboundp.
> 
> Right, makes sense. I guess this can occur other places as well. I can look 
> around and see if it's needed other places.

Please do, and thanks.



reply via email to

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