branch: externals/matlab-mode
commit 08e2b49887bf51beff2300d3f091687facf9fe81
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
Makefile: don't build matlab-ts-mode*.el files with Emacs version < 30
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5f4c6bac6f..b1f7dfcc3f 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ EL_SRCS := $(filter-out flycheck_%, $(EL_SRCS))
HAVE_TREESIT_EMACS = $(shell "$(EMACS)" --batch -Q --eval \
"(when (>= emacs-major-version 30) (message
\"have-treesit\"))" 2>&1)
ifneq ($(filter have-treesit,$(HAVE_TREESIT_EMACS)),have-treesit)
- EL_SRCS := $(filter-out matlab-ts-mode.el,$(EL_SRCS))
+ EL_SRCS := $(filter-out matlab-ts-mode%, $(EL_SRCS))
endif
ELC = $(EL_SRCS:.el=.elc)