diff options
| author | Juri Linkov | 2024-12-30 19:54:39 +0200 |
|---|---|---|
| committer | Juri Linkov | 2024-12-30 19:54:39 +0200 |
| commit | 4068948a74586056cf03a22cae2448d7b4e4a7bd (patch) | |
| tree | 6e393cfb52f25b89a000718839f77086cf4b9ed4 /lib/malloc/dynarray_finalize.c | |
| parent | 7671d50b149edd9e19c29f5fa8ee71c01e2f583d (diff) | |
| download | emacs-4068948a74586056cf03a22cae2448d7b4e4a7bd.tar.gz emacs-4068948a74586056cf03a22cae2448d7b4e4a7bd.zip | |
* lisp/treesit.el (treesit-show-paren-data--categorize): Fix it.
Copy the implementation of treesit-parent-until here, and call
its treesit-node-match-p with the argument IGNORE-MISSING set to t
that causes it to fail silently instead of raising an error when
the predicate 'sexp-list' is not defined in an embedded language.
(treesit-major-mode-setup): Set show-paren-data-function to
treesit-show-paren-data only when 'sexp-list' thing is defined
that is used by treesit-show-paren-data--categorize (bug#75198).
Diffstat (limited to 'lib/malloc/dynarray_finalize.c')
0 files changed, 0 insertions, 0 deletions