Skip to content

Commit

Permalink
Ensure package is selected when force installed from ELPA
Browse files Browse the repository at this point in the history
  • Loading branch information
pkryger committed Dec 4, 2024
1 parent 2f16773 commit 49b7354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/init-lib.el
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ It makes buffer local variable with an extra back tick added."
((not (package-installed-p package archive-version)))
((version-list-< builtin-version archive-version)))
(use-package-pin-package package ,archive)
(package--save-selected-packages (cons name package-selected-packages))
(condition-case-unless-debug err
(let* ((package-install-upgrade-built-in t)
(transaction (package-compute-transaction
Expand Down

0 comments on commit 49b7354

Please sign in to comment.