From d802f43550a6366c40c35e6b3a9dc7bcb2600b3b Mon Sep 17 00:00:00 2001 From: Arthur <150680976+arthsmn@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:58:51 -0300 Subject: [PATCH] Update Elpaca Instructions (#22) By default the config enables `minimal-emacs-package-initialize-and-refresh`, calling the builtin package-manager. As Elpaca will replace the package-manager, there's no reason to call it. This variable change also improves startup time (in my case from 1.06 s to 0.56 s). --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f0e9b05..84ebf1e 100644 --- a/README.md +++ b/README.md @@ -599,7 +599,8 @@ To configure `corfu` and `cape`, add the following to `~/.emacs.d/post-init.el`: [Add the elpaca bootstrap code](https://github.com/progfolio/elpaca?tab=readme-ov-file#installer) to `~/.emacs.d/pre-init.el`: ```elisp -(setq package-enable-at-startup nil) +(setq package-enable-at-startup nil + minimal-emacs-package-initialize-and-refresh nil) (defvar elpaca-installer-version 0.8) (defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))