aboutsummaryrefslogtreecommitdiff
path: root/compat.el
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2023-05-21 09:58:55 +0200
committerPhilip Kaludercic <philipk@posteo.net>2023-05-21 10:00:43 +0200
commit1b5e81c350618710b3f5b62eec8d53ff363847f8 (patch)
treee3038d7be23e45e45a4d94a09507ff3bf5ded51c /compat.el
parent5aebd96ca19af04a099196bbdc3d9c3aed9e8bb6 (diff)
Prepare support for Emacs 30
Diffstat (limited to 'compat.el')
-rw-r--r--compat.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/compat.el b/compat.el
index 646ad99..a34a455 100644
--- a/compat.el
+++ b/compat.el
@@ -49,12 +49,11 @@
;; Ensure that the newest compatibility layer is required at compile
;; time and runtime, but only if needed.
(eval-when-compile
- (defmacro compat--maybe-require-29 ()
- ;; TODO Update to 29.1 as soon as the Emacs emacs-29 branch version bumped
- (when (version< emacs-version "29.0.90")
+ (defmacro compat--maybe-require-30 ()
+ (when (version< emacs-version "30.0.50")
(require 'compat-29)
'(require 'compat-29))))
-(compat--maybe-require-29)
+(compat--maybe-require-30)
;;;; Macros for extended compatibility function calls