]> git.eshelyaron.com Git - emacs.git/commit
; Fix build and startup without tree-sitter
authorEli Zaretskii <eliz@gnu.org>
Mon, 30 Jan 2023 12:22:19 +0000 (14:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 30 Jan 2023 12:22:19 +0000 (14:22 +0200)
commitdda4baa58b7e6a5c70f4c40c80463221b3c479c1
tree72cd97a47ece3d9429ae71b891b977696a62bed9
parent99e40959f4036debe099f144ed2664a38e23563d
; Fix build and startup without tree-sitter

* lisp/treesit.el (treesit--font-lock-level-setter): Don't loop
over all the buffers if tree-sitter is not built-in, or else
initialization of defcustom will fail.  (Bug#61155)
* lisp/progmodes/rust-ts-mode.el (treesit-node-parent):
* lisp/progmodes/c-ts-common.el (treesit-node-parent): Declare, to
* avoid byte-compilation warnings.
lisp/progmodes/c-ts-common.el
lisp/progmodes/rust-ts-mode.el
lisp/treesit.el