diff --git a/modules/init-lib.el b/modules/init-lib.el index 4ca6fd4d..5c886553 100644 --- a/modules/init-lib.el +++ b/modules/init-lib.el @@ -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