aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-08-25 22:08:25 +0200
committerPhilip Kaludercic <philipk@posteo.net>2022-08-29 23:40:11 +0200
commit68c6ccd5cc738da341a211902447ce9a762f80c7 (patch)
tree332791a802d800df5f7f3aeabd3dd154974867fd
parent3bd425a0d682c310e54b06e929a3e495b6487c9d (diff)
Always load compat-macs
This is a temporary workaround that might help avoid issues like https://todo.sr.ht/~pkal/compat/7 and perhaps https://todo.sr.ht/~pkal/compat/5 too. This will be reverted before the next release.
-rw-r--r--compat-24.el2
-rw-r--r--compat-25.el2
-rw-r--r--compat-26.el3
-rw-r--r--compat-27.el2
-rw-r--r--compat-28.el2
5 files changed, 5 insertions, 6 deletions
diff --git a/compat-24.el b/compat-24.el
index 8e0fd93..d38f051 100644
--- a/compat-24.el
+++ b/compat-24.el
@@ -37,7 +37,7 @@
;;; Code:
-(eval-when-compile (require 'compat-macs))
+(require 'compat-macs "compat-macs.el")
(compat-declare-version "24.4")
diff --git a/compat-25.el b/compat-25.el
index f6d6de0..815d9dd 100644
--- a/compat-25.el
+++ b/compat-25.el
@@ -32,7 +32,7 @@
;;; Code:
-(eval-when-compile (require 'compat-macs))
+(require 'compat-macs "compat-macs.el")
(compat-declare-version "25.1")
diff --git a/compat-26.el b/compat-26.el
index bcfd893..5b8cfac 100644
--- a/compat-26.el
+++ b/compat-26.el
@@ -37,8 +37,7 @@
;;; Code:
-(eval-when-compile (require 'compat-macs))
-(declare-function compat-func-arity "compat" (func))
+(require 'compat-macs "compat-macs.el")
(compat-declare-version "26.1")
diff --git a/compat-27.el b/compat-27.el
index 2581ce7..e630bb9 100644
--- a/compat-27.el
+++ b/compat-27.el
@@ -39,7 +39,7 @@
;;; Code:
-(eval-when-compile (require 'compat-macs))
+(require 'compat-macs "compat-macs.el")
(compat-declare-version "27.1")
diff --git a/compat-28.el b/compat-28.el
index 1cb3879..a3dc769 100644
--- a/compat-28.el
+++ b/compat-28.el
@@ -39,7 +39,7 @@
;;; Code:
-(eval-when-compile (require 'compat-macs))
+(require 'compat-macs "compat-macs.el")
(compat-declare-version "28.1")