Skip to content

Commit

Permalink
[try] add to load path
Browse files Browse the repository at this point in the history
  • Loading branch information
pkryger committed Nov 26, 2024
1 parent ce65983 commit fe65cab
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 fe65cab

Please sign in to comment.