From 769c20aa59f0709ddd7bd9195b75b7430a60e01e Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 18 Feb 2026 10:23:49 -0500 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 11e0c25..80b7c0d 100644 --- a/README.md +++ b/README.md @@ -2612,16 +2612,16 @@ To install and load packages during the early-init phase, add the following to ` ;; (setq warning-suppress-types '((package))) ;; Initialize packages in the early-init phase instead of init -(progn +(when (bound-and-true-p minimal-emacs-package-initialize-and-refresh) + ;; Initialize and refresh package contents again if needed (package-initialize) - (unless package-archive-contents - (package-refresh-contents)) (unless (package-installed-p 'use-package) + (unless (seq-empty-p package-archive-contents) + (package-refresh-contents)) (package-install 'use-package)) - (eval-when-compile - (require 'use-package))) + (require 'use-package)) -;; TODO: Add your use-package code here +;; TODO: Add your use-package packages here ``` ### Minimal-emacs.d configurations from users