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-25 22:17:16 +0200
commit66b832953545ceb5df4cdf54d79f63ba80f4193e (patch)
treee5a92a1976e87c479a287ea69590305a93d76ce4
parent2ff3eb78ebe06f5a2d6609896e921d7cdd735edb (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 60f365b..471fbee 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 f712d24..98f7b2f 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 bc0e37a..a96b1e9 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")