]> git.eshelyaron.com Git - emacs.git/commit
Fix all issues for the case when tree-sitter is disabled.
authorJuri Linkov <juri@linkov.net>
Tue, 22 Apr 2025 16:32:36 +0000 (19:32 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Apr 2025 17:58:15 +0000 (19:58 +0200)
commitf4b7cb7cc66e42b8010f6b7c21960ca097d74a4e
tree575c2ea48732768d872e837941b58a1bee4b0665
parent24d1b0b7c48c870220ee93fe6a17e14015c75a2f
Fix all issues for the case when tree-sitter is disabled.

* lisp/treesit.el (treesit-declare-unavailable-functions):
Declare 'treesit-language-abi-version' and 'treesit-library-abi-version'.

* lisp/progmodes/elixir-ts-mode.el (elixir-ts--range-rules):
* lisp/progmodes/heex-ts-mode.el (heex-ts--range-rules):
* lisp/progmodes/rust-ts-mode.el (treesit-language-source-alist):
Guard with 'treesit-available-p'.

(cherry picked from commit 8fb45fcaedbe1b89bab54406c8739404d0ad35bc)
lisp/progmodes/elixir-ts-mode.el
lisp/progmodes/heex-ts-mode.el
lisp/progmodes/rust-ts-mode.el
lisp/treesit.el