[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat aaf2139835 5/5: Always load all compat files dur
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat aaf2139835 5/5: Always load all compat files during testing |
Date: |
Tue, 19 Jul 2022 16:57:25 -0400 (EDT) |
branch: externals/compat
commit aaf21398355d9d2abee33fe5a620792ea8ad9315
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
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)