Skip to content

Commit

Permalink
Add newly installed package to load path in exordium-force-elpa
Browse files Browse the repository at this point in the history
  • Loading branch information
pkryger committed Nov 26, 2024
1 parent ce65983 commit 79a2b29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/init-lib.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79a2b29

Please sign in to comment.