Update README.md

This commit is contained in:
James Cherti
2026-02-18 10:23:49 -05:00
parent 480c8d606e
commit 769c20aa59

View File

@@ -2612,16 +2612,16 @@ To install and load packages during the early-init phase, add the following to `
;; (setq warning-suppress-types '((package))) ;; (setq warning-suppress-types '((package)))
;; Initialize packages in the early-init phase instead of init ;; 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) (package-initialize)
(unless package-archive-contents
(package-refresh-contents))
(unless (package-installed-p 'use-package) (unless (package-installed-p 'use-package)
(unless (seq-empty-p package-archive-contents)
(package-refresh-contents))
(package-install 'use-package)) (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 ### Minimal-emacs.d configurations from users