Variable: package-selected-packages
package-selected-packages is a customizable variable defined in
package.el.gz.
Value
nil
Documentation
Store here packages installed explicitly by user.
This variable is fed automatically by Emacs when installing a new package.
This variable is used by package-autoremove to decide
which packages are no longer needed.
You can use it to (re)install packages on other machines
by running package-install-selected-packages.
To check if a package is contained in this list here, use
package--user-selected-p, as it may populate the variable with
a sane initial value.
This variable was added, or its default value changed, in Emacs 25.1.
Probably introduced at or before Emacs version 25.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
(defcustom package-selected-packages nil
"Store here packages installed explicitly by user.
This variable is fed automatically by Emacs when installing a new package.
This variable is used by `package-autoremove' to decide
which packages are no longer needed.
You can use it to (re)install packages on other machines
by running `package-install-selected-packages'.
To check if a package is contained in this list here, use
`package--user-selected-p', as it may populate the variable with
a sane initial value."
:version "25.1"
:type '(repeat symbol))