From 1692e3431359de8daad2392e019bd73ac2d503fe Mon Sep 17 00:00:00 2001 From: Abdelhak Bougouffa Date: Wed, 11 Dec 2024 21:35:48 +0100 Subject: [PATCH] fix(init): require `compat`, fixes issues on Emacs 29 --- core/me-bootstrap.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/me-bootstrap.el b/core/me-bootstrap.el index 90ad7933..40bee141 100644 --- a/core/me-bootstrap.el +++ b/core/me-bootstrap.el @@ -71,9 +71,14 @@ ;; Update the builtin packages if needed (dolist (pkg (seq-uniq (append minemacs-update-builtin-packages (and (< emacs-major-version 30) - '(which-key editorconfig compat))))) + '(which-key editorconfig))))) (straight-use-package `(,pkg :source gnu-elpa-mirror))) +(use-package compat + :straight (compat :source gnu-elpa-mirror) + :when (< emacs-major-version 30) + :demand) + ;; Extra utilities ;; Be cautious about the installed revision of `once' and `satch' as they aren't stable yet (use-package once