branch: externals/compat
commit 8615175a68f25798a461c6a28346cc2abf02b7c0
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    compat-tests: Move check instead of with-eval-after-load
---
 compat-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compat-tests.el b/compat-tests.el
index 5a83a8c1d7..392ba1a396 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -70,7 +70,7 @@ DEF-FN, INSTALL-FN, CHECK-FN and ATTR."
        (put ',realname 'compat-min-version ,min-version)
        (put ',realname 'compat-max-version ,max-version)
        ,(funcall def-fn realname version)
-       ,(and check `(,@check ,(compat--with-feature feature body))))))
+       ,(and check (compat--with-feature feature `(,@check ,body))))))
 
 (setq compat--generate-function #'compat--generate-testable)
 

Reply via email to