aboutsummaryrefslogtreecommitdiff
path: root/compat-28.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-02-11 01:46:07 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-02-11 01:46:07 +0100
commit5bd2c405cfbf0b7adff3dbd2316baec650271eea (patch)
tree8b9574f0368793e6ee86adc6a1c61e6da65b2ae3 /compat-28.el
parent99facb3a764aa282a22c256bedf39113a29041b5 (diff)
More robust method to require libraries conditionally
Diffstat (limited to 'compat-28.el')
-rw-r--r--compat-28.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/compat-28.el b/compat-28.el
index e3bde86..57a40f7 100644
--- a/compat-28.el
+++ b/compat-28.el
@@ -21,8 +21,10 @@
;;; Code:
-(eval-when-compile (load "compat-macs.el" nil t t))
-(compat-declare-version "28.1")
+(eval-when-compile (require 'compat-macs))
+(compat-require compat-27 "27.1")
+
+(compat-version "28.1")
;;;; Defined in fns.c