[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 03a4cdd528 05/10: Prepend ".el" to load-suffixes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 03a4cdd528 05/10: Prepend ".el" to load-suffixes during testing |
Date: |
Sun, 17 Jul 2022 17:57:25 -0400 (EDT) |
branch: externals/compat
commit 03a4cdd52872e18076ba6ad1553be3cfbb087f42
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Prepend ".el" to load-suffixes during testing
This is necessary to avoid loading potentially byte-compiled files
using a generator function other than `compat--generate-verbose' (that
is necessary for testing, to ensure all the necessary meta-data and a
backup definition is provided).
---
compat.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat.el b/compat.el
index 6113d445ff..c588766d1f 100644
--- a/compat.el
+++ b/compat.el
@@ -51,7 +51,7 @@
(let* ((compat--inhibit-prefixed (not (bound-and-true-p compat-testing)))
(load-suffixes
(if (bound-and-true-p compat-testing)
- '(".el" ".elc")
+ (cons ".el" (remove ".el" load-suffixes))
load-suffixes))
(features (copy-sequence features)))
(ignore features) ;for the byte compiler
- [elpa] externals/compat updated (93dc61d64f -> bddb17d378), ELPA Syncer, 2022/07/17
- [elpa] externals/compat 0cda922177 02/10: Rename compat-deftest to compat-tests, ELPA Syncer, 2022/07/17
- [elpa] externals/compat 02bbef139c 04/10: Require sub-features instead of loading them, ELPA Syncer, 2022/07/17
- [elpa] externals/compat 73832a8d0f 09/10: Add a declare-function for json-serialize, ELPA Syncer, 2022/07/17
- [elpa] externals/compat cdc842459e 03/10: Respect compat-testing during loading, ELPA Syncer, 2022/07/17
- [elpa] externals/compat c50b6e0b9a 06/10: Wrap provide calls in `compat--inhibit-prefixed', ELPA Syncer, 2022/07/17
- [elpa] externals/compat 72f1789e6b 08/10: Print version before starting tests, ELPA Syncer, 2022/07/17
- [elpa] externals/compat 03a4cdd528 05/10: Prepend ".el" to load-suffixes during testing,
ELPA Syncer <=
- [elpa] externals/compat 5607bec3c2 07/10: Do not modify load-suffixes during loading, ELPA Syncer, 2022/07/17
- [elpa] externals/compat 9e40cf3c3a 01/10: Simplify loading and compiling of Compat, ELPA Syncer, 2022/07/17
- [elpa] externals/compat bddb17d378 10/10: Merge branch 'simple-load', ELPA Syncer, 2022/07/17