Subject: bug#58823: feature/tree-sitter doesn't build without tree-sitter

From: Yuan Fu <[email-masked]>
Date: Thu, 27 Oct 2022 15:59:14 -0700

> On Oct 27, 2022, at 2:01 PM, Stefan Kangas <[email-masked]> wrote:
> 
> This system does not have tree-sitter installed.  The
> feature/tree-sitter branch doesn't seem to build without it.

Oh, right, the lisp code has to prepare for the case where tree-sitter is not compiled. Should we declare-function for all the functions in treesit.c? And all tree-sitter code called by other lisp files should be guarded by treesit-available-p. I can fix that.

Thanks!
Yuan