From 79a2b2915431a6a92d11b342aa001dc93a990eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Kryger?= Date: Tue, 26 Nov 2024 11:43:08 +0000 Subject: [PATCH] Add newly installed package to load path in exordium-force-elpa --- modules/init-lib.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/init-lib.el b/modules/init-lib.el index a37039ef..3a66adec 100644 --- a/modules/init-lib.el +++ b/modules/init-lib.el @@ -135,7 +135,11 @@ see Info node `(emacs) Package Installation'." ((version-list-< builtin-version archive-version))) (use-package-pin-package package ,archive-name) (condition-case-unless-debug err - (let ((package-install-upgrade-built-in t)) + (let ((package-install-upgrade-built-in t) + (load-path (cons (expand-file-name + (package-desc-full-name archive-desc) + package-user-dir) + load-path))) (package-install-from-archive archive-desc) t) (error