summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2024-12-30 19:54:39 +0200
committerJuri Linkov <juri@linkov.net>2024-12-30 19:54:39 +0200
commit4068948a74586056cf03a22cae2448d7b4e4a7bd (patch)
tree6e393cfb52f25b89a000718839f77086cf4b9ed4 /test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el
parent7671d50b149edd9e19c29f5fa8ee71c01e2f583d (diff)
downloademacs-4068948a74586056cf03a22cae2448d7b4e4a7bd.tar.gz
emacs-4068948a74586056cf03a22cae2448d7b4e4a7bd.tar.bz2
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 'test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el')
0 files changed, 0 insertions, 0 deletions