From 2413a0897824a422e27c4e318ff6e43bfa8ca554 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Tue, 21 Oct 2025 17:48:01 +0300 Subject: emacs: Bump up minimum to 30.1 I realised there's probably tons of incompatibilities with 29 because I am not testing with it anymore. --- emacs/.config/emacs/init.el | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'emacs') diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index 1fc8f7c..8e54d71 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el @@ -5,15 +5,13 @@ (unless (boundp 'loaded-early-init) (load (expand-file-name "early-init" (file-name-directory load-file-name)) nil t)) -(when (version< emacs-version "29.1") - (error "Using %s. Minimum supported version is 29.1." +(when (version< emacs-version "30.1") + (error "Using %s. Minimum supported version is 30.1." (emacs-version))) (setq-default user-full-name "Uko Kokņevičs" user-mail-address "perkontevs@gmail.com") -(defconst +emacs29+ (version< emacs-version "30.0")) - (defconst +linux+ (eq system-type 'gnu/linux)) (defconst +mac+ (eq system-type 'darwin)) (defconst +bsd+ (or +mac+ (eq system-type 'berkeley-unix))) @@ -196,9 +194,9 @@ (straight-freeze-versions)) ;; compat -(use-package compat-30 - :if +emacs29+ - :straight 'compat) +;; (use-package compat-31 +;; :if +emacs30+ +;; :straight 'compat) ;; Helper functions (defmacro defsetter (name &rest emacs-names) -- cgit v1.2.3