diff --git a/early-init.el b/early-init.el index 1a91e50..af3bf85 100644 --- a/early-init.el +++ b/early-init.el @@ -248,6 +248,11 @@ ;; loaded, but after `early-init-file'. (setq package-enable-at-startup t) +(setq package-quickstart nil) + +;; Always ensure packages are installed +(setq use-package-always-ensure t) + ;;; Load post-early-init.el (minimal-emacs-load-user-init "post-early-init.el") diff --git a/init.el b/init.el index af0559e..1a1bdb3 100644 --- a/init.el +++ b/init.el @@ -14,12 +14,13 @@ ;;; Code: +;;; Load pre-init.el (after package/use-package and before init) +(minimal-emacs-load-user-init "pre-init.el") + ;;; package.el (require 'package) -(setq package-quickstart nil) - (when (version< emacs-version "28") (add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/"))) @@ -52,11 +53,6 @@ (eval-when-compile (require 'use-package)) -;; Always ensure packages are installed -(setq use-package-always-ensure t) - -;;; Load pre-init.el (after package/use-package and before init) -(minimal-emacs-load-user-init "pre-init.el") ;;; Load auto-compile and gcmh (use-package auto-compile