Fix 'package-vc-selected-packages' documentation

* lisp/emacs-lisp/package-vc.el (package-vc-selected-packages): Remove
reference to non-existent function and add an explanation that the
value won't override an existing source package installation.
This commit is contained in:
Philip Kaludercic 2022-11-06 10:43:44 +01:00
parent 3ff8310cc3
commit 83ff0de4ce

View file

@ -151,8 +151,12 @@ is a symbol designating the package and SPEC is one of:
specification.
This user option differs from `package-selected-packages' in that
it is meant to be specified manually. You can also use the
function `package-vc-selected-packages' to apply the changes."
it is meant to be specified manually. If you want to install all
the packages in the list, you cal also use
`package-vc-install-selected-packages'.
Note that this option will not override an existing source
package installation or revert the checked out revision."
:type '(alist :tag "List of packages you want to be installed"
:key-type (symbol :tag "Package")
:value-type