File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -199,19 +199,19 @@ Here are a few basic customizations that you might like. Paste with `C-y`.
199199Set up [ ` use-package ` ] ( https://github.com/jwiegley/use-package ) , which automates package installation and configuration.
200200
201201``` elisp
202- ;; Configure built in package manager
202+ ;; Configure built- in package manager
203203(require 'package)
204- (package-initialize)
205204(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
206205(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/"))
206+ (package-initialize)
207207
208- ;; Install use-package
209- ;; https://github.com/jwiegley/use-package
210- (when (not (package-installed-p 'use-package))
208+ ;; Install and configure use-package
209+ (unless (package-installed-p 'use-package)
211210 (package-refresh-contents)
212211 (package-install 'use-package))
213212(eval-when-compile
214213 (require 'use-package))
214+ (setq use-package-always-defer t) ; Globally defer package loading
215215```
216216
217217### Undo/redo
You can’t perform that action at this time.
0 commit comments