branch: externals/compat
commit aaf21398355d9d2abee33fe5a620792ea8ad9315
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>

    Always load all compat files during testing
---
 compat.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compat.el b/compat.el
index f0e0519f5f..e07a4b639b 100644
--- a/compat.el
+++ b/compat.el
@@ -47,7 +47,8 @@
   ;; that the file can be loaded again at some later point when the
   ;; prefixed definitions are needed).
   (dolist (vers '(24 25 26 27 28))
-    (when (and (< vers emacs-major-version)
+    (when (and (or (bound-and-true-p compat-testing)
+                   (< vers emacs-major-version))
                (not (memq (intern (format "compat-%d" vers)) features)))
       (load (format "compat-%d%s" vers
                     (if (bound-and-true-p compat-testing)

Reply via email to