rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.1k stars 176 forks source link

Fix tree-sitter integration for older emacs #521

Closed psibi closed 4 months ago

alanz commented 4 months ago

Thanks for the quick fix. This sorted out the unknown hooks, but I now get

Warning (treesit): Cannot activate tree-sitter, because Emacs is not compiled with tree-sitter library

I am running emacs 29.2 but without tree-sitter integration.

psibi commented 4 months ago

@alanz Can you see if this PR fixes it for you: https://github.com/rust-lang/rust-mode/pull/522 ?