Document that 'package-vc' doesn't support built-in packages

* doc/misc/use-package.texi (Install package):
* doc/emacs/package.texi (Fetching Package Sources): Document that
upgrading built-in packages is not yet supported using
'package-vc'.  (Bug#75328)
This commit is contained in:
Eli Zaretskii 2025-01-11 12:58:03 +02:00
parent ee61b9a050
commit 26c5fadf47
2 changed files with 5 additions and 1 deletions

View file

@ -611,6 +611,9 @@ regular package listing. If you just wish to clone the source of a
package, without adding it to the package list, use
@code{package-vc-checkout}.
Note that currently, built-in packages cannot be upgraded using
@code{package-vc-install}.
@findex package-report-bug
@findex package-vc-prepare-patch
With the source checkout, you might want to reproduce a bug against

View file

@ -1660,7 +1660,8 @@ declaration. The accepted property list is augmented by a @code{:rev}
keyword, which has the same shape as the @code{REV} argument to
@code{package-vc-install}. Notably -- even when not specified --
@code{:rev} defaults to checking out the last release of the package.
You can use @code{:rev :newest} to check out the latest commit.
You can use @code{:rev :newest} to check out the latest commit. Note
that currently, you cannot upgrade built-in packages using @code{:vc}.
For example,