summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2023-03-15 09:51:14 +0100
committerPhilip Kaludercic <philipk@posteo.net>2023-03-15 10:27:58 +0100
commit168165178f32fb4e20aea32858407921baf079f0 (patch)
tree3eb9d750d9f0114a3a7ebcd740cb82bd7aa4eb3f /doc
parentd3ad6c5e161eaadb480e11e4820613afdc4722e6 (diff)
downloademacs-168165178f32fb4e20aea32858407921baf079f0.tar.gz
Use 'package-vc-selected-packages' to store package specs
* doc/emacs/package.texi (Fetching Package Sources): Do not promote the usage of 'package-vc-selected-packages' to install packages. * lisp/emacs-lisp/package-vc.el (package-vc-selected-packages): Remove custom setter and change docstring according to these changes. (package-vc--desc->spec): Consult 'package-vc-selected-packages' for package specifications. (package-vc--unpack): Add unknown package specifications to 'package-vc-selected-packages'
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/package.texi23
1 files changed, 0 insertions, 23 deletions
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index d993b7b071f..7a2bc11d03c 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -558,29 +558,6 @@ 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}.
-@vindex package-vc-selected-packages
-@findex package-vc-install-selected-packages
- An alternative way to use @code{package-vc-install} is via the
-@code{package-vc-selected-packages} user option. This is an alist of
-packages to install, where each key is a package name and the value is
-@code{nil}, indicating that any revision is to install, a string,
-indicating a specific revision or a package specification plist. The
-side effect of setting the user option is to install the package, but
-the process can also be manually triggered using the function
-@code{package-vc-install-selected-packages}. Here is an example of
-how the user option:
-
-@example
-@group
-(setopt package-vc-selected-packages
- '((modus-themes . "0f39eb3fd9") ;specific revision
- (auctex . nil) ;any revision
- (foo ;a package specification
- :url "https://git.sv.gnu.org/r/foo-mode.git"
- :branch "trunk")))
-@end group
-@end example
-
@findex package-report-bug
@findex package-vc-prepare-patch
With the source checkout, you might want to reproduce a bug against