diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | compat-tests.el | 5 |
2 files changed, 2 insertions, 5 deletions
@@ -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))))) |
