Skip to content

Commit

Permalink
fix(init): require compat, fixes issues on Emacs 29
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 12, 2024
1 parent f6ca225 commit 1692e34
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/me-bootstrap.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1692e34

Please sign in to comment.