aboutsummaryrefslogtreecommitdiff
path: root/compat.el
diff options
context:
space:
mode:
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)