From ad8ced8bbb8a18b6e3dd1bc01295ac1bed7c1fa5 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 29 Nov 2025 07:56:41 -0500 Subject: [PATCH] ; * lisp/cus-start.el (native-p): Update for treesit options. --- lisp/cus-start.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/cus-start.el b/lisp/cus-start.el index b59decbc1a9..dc213234c9f 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -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!