diff options
| author | Philip Kaludercic <philipk@posteo.net> | 2022-07-17 21:16:47 +0200 |
|---|---|---|
| committer | Philip Kaludercic <philipk@posteo.net> | 2022-07-17 21:16:47 +0200 |
| commit | 03a4cdd52872e18076ba6ad1553be3cfbb087f42 (patch) | |
| tree | c0e1fbf164833b098e55ba1b36d2a6dcb08f212e /compat.el | |
| parent | 02bbef139c4ec5af58c53c03128df518e9bf280f (diff) | |
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).
Diffstat (limited to 'compat.el')
| -rw-r--r-- | compat.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
