]> git.eshelyaron.com Git - emacs.git/commit
Better signal data for treesit-load-language-error
authorYuan Fu <casouri@gmail.com>
Wed, 12 Oct 2022 17:38:35 +0000 (10:38 -0700)
committerYuan Fu <casouri@gmail.com>
Wed, 12 Oct 2022 17:38:35 +0000 (10:38 -0700)
commit0b3f785c4a272b909108108cf7931779ae48cfba
tree78564c27d1f926690629adb2cb49100988bde5fe
parent77f1533ccbba1a5dc0824770046696181a2b7b6c
Better signal data for treesit-load-language-error

* src/treesit.c (ts_load_language): Better formatted signal data,
(Ftreesit_langauge_available_p): Optionally return the signal data if
language not available.
* doc/lispref/parsing.texi: Document the signal data in detail.
doc/lispref/parsing.texi
src/treesit.c