From 80f2162f3fc916f41e683a78afcce909f5f93f79 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Tue, 25 Jul 2023 09:54:27 +0200 Subject: Emacs 29.1 is available on CI --- Makefile | 2 +- compat-tests.el | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7dd9e1e..64bfd64 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ $(BYTEC): compat-macs.el .el.elc: @echo "Compiling $<" @$(EMACS) -Q --batch -L . \ - --eval '(setq compat-strict (< emacs-major-version 29) byte-compile-error-on-warn t)' \ + --eval '(setq compat-strict t byte-compile-error-on-warn t)' \ -f batch-byte-compile $< compat.info: compat.texi diff --git a/compat-tests.el b/compat-tests.el index f86bfff..60e652b 100644 --- a/compat-tests.el +++ b/compat-tests.el @@ -82,10 +82,7 @@ (ert-deftest compat-loaded-features () (let ((version 0)) (while (< version 30) - (should-equal (or (> version emacs-major-version) - ;; TODO Remove when Emacs 29.1 available on CI - (and (= 29 version emacs-major-version) - (= 0 emacs-minor-version))) + (should-equal (> version emacs-major-version) (featurep (intern (format "compat-%s" version)))) (setq version (1+ version))))) -- cgit v1.0