From 94e38169b8cd0abb3752f41219b587165205e05f Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Thu, 23 Feb 2023 11:37:08 -0900 Subject: [PATCH] Elpaca: enable use-package integration --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 08c9c4c..4a0025c 100644 --- a/init.el +++ b/init.el @@ -58,7 +58,9 @@ ;; (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) (straight-use-package 'use-package) (setq straight-use-package-by-default t) ;; actually, use elpaca instead -(require 'elpaca-bootstrap) (elpaca use-package (require 'use-package)) +(require 'elpaca-bootstrap) (elpaca use-package (require 'use-package) + (elpaca-use-package-mode) + (setq elpaca-use-package-by-default t)) (require 'mitch-packages)