1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

; * lisp/cus-start.el (native-p): Update for treesit options.

This commit is contained in:
Eli Zaretskii 2025-11-29 07:56:41 -05:00
parent 029d87a810
commit ad8ced8bbb

View file

@ -945,6 +945,9 @@ since it could result in memory overflow and make Emacs crash."
(fboundp 'new-fontset))
((string-match "xwidget-" (symbol-name symbol))
(boundp 'xwidget-internal))
((string-match "treesit-" (symbol-name symbol))
;; Any function from treesit.c will do.
(fboundp 'treesit-language-available-p))
(t t))))
(if (not (boundp symbol))
;; If variables are removed from C code, give an error here!