branch: externals/compat commit 9be46b04678960967992c6b5c3abdddba136454e Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
Add check for Emacs 28 to compat-tests.el --- compat-tests.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compat-tests.el b/compat-tests.el index f4495a3..4c2b311 100644 --- a/compat-tests.el +++ b/compat-tests.el @@ -63,6 +63,9 @@ ;;; Code: +(when (version< emacs-version "28") + (error "compat-tests.el requires at least Emacs 28 or newer")) + (require 'ert) (require 'compat-macs)