[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 19:16:57 +0200 |
> 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.