From 1e56b1443f590c30667d6df47f5b4e1d0dda6475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Kryger?= Date: Fri, 15 Nov 2024 11:11:14 +0000 Subject: [PATCH] [try] treesit no define, ensure bounding --- modules/init-treesit.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/init-treesit.el b/modules/init-treesit.el index b86ddaf0..b256b7eb 100644 --- a/modules/init-treesit.el +++ b/modules/init-treesit.el @@ -65,12 +65,10 @@ (message "Enabling external tree-sitter and tree-sitter-langs") (use-package tree-sitter-langs - :defines (tree-sitter-langs--testing) :init (eval-and-compile - (setq tree-sitter-langs--testing (or (when (boundp 'tree-sitter-langs--testing) - tree-sitter-langs--testing) - (getenv "ci_tests"))))) + (unless (boundp 'tree-sitter-langs--testing) + (setq tree-sitter-langs--testing (getenv "ci_tests"))))) (use-package tree-sitter :diminish :after (tree-sitter-langs)