aboutsummaryrefslogtreecommitdiff
path: root/compat.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-05-10 20:19:04 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2023-05-10 20:20:12 +0200
commitbe1d94d5e0e2fc9f02d2cd240d255c3a43037ba3 (patch)
treefc2a7c75ef86c582277b95a177006e0ee349c631 /compat.el
parent6411e9001aa66a2b442dba5de346656d40d7915d (diff)
More precise version checking
Make sure that compat-29 is still loaded on outdated Emacs 29 builds.
Diffstat (limited to 'compat.el')
-rw-r--r--compat.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat.el b/compat.el
index 2da7bb4..646ad99 100644
--- a/compat.el
+++ b/compat.el
@@ -50,7 +50,8 @@
;; time and runtime, but only if needed.
(eval-when-compile
(defmacro compat--maybe-require-29 ()
- (when (< emacs-major-version 29)
+ ;; TODO Update to 29.1 as soon as the Emacs emacs-29 branch version bumped
+ (when (version< emacs-version "29.0.90")
(require 'compat-29)
'(require 'compat-29))))
(compat--maybe-require-29)