[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 348f7d263c 17/42: Move package spec documentation to 'package-vc-
From: |
Philip Kaludercic |
Subject: |
master 348f7d263c 17/42: Move package spec documentation to 'package-vc-selected-packages' |
Date: |
Thu, 17 Nov 2022 14:56:21 -0500 (EST) |
branch: master
commit 348f7d263c56ad48e871b2901307684b5c49b149
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Move package spec documentation to 'package-vc-selected-packages'
* lisp/emacs-lisp/package-vc.el (package-vc-selected-packages): Add
documentation.
(package-vc--archive-spec-alist): Remove documentation.
---
lisp/emacs-lisp/package-vc.el | 56 +++++++++++++++++++++----------------------
1 file changed, 27 insertions(+), 29 deletions(-)
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index ad12008fce..70d9ac98d7 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -139,9 +139,31 @@ is a symbol designating the package and SPEC is one of:
- nil, if any package version can be installed;
- a version string, if that specific revision is to be installed;
-- a property list of the form described in
- `package-vc-archive-spec-alist', giving a package
- specification.
+- a property list. Valid key/value pairs are
+
+ `:url' (string)
+ The URL of the repository used to fetch the package source.
+
+ `:branch' (string)
+ If given, the name of the branch to checkout after cloning the directory.
+
+ `:lisp-dir' (string)
+ The repository-relative name of the directory to use for loading the Lisp
+ sources. If not given, the value defaults to the root directory
+ of the repository.
+
+ `:main-file' (string)
+ The main file of the project, relevant to gather package metadata.
+ If not given, the assumed default is the package name with \".el\"
+ appended to it.
+
+ `:vc-backend' (symbol)
+ A symbol of the VC backend to use for cloning the package. The
+ value ought to be a member of `vc-handled-backends'. If omitted,
+ `vc-clone' will fall back onto the archive default or on
+ `package-vc-default-backend'.
+
+ All other values are ignored.
This user option differs from `package-selected-packages' in that
it is meant to be specified manually. If you want to install all
@@ -168,32 +190,8 @@ package installation or revert the checked out revision."
(defvar package-vc--archive-spec-alist nil
"List of package specifications for each archive.
-The list maps each package name, as a string, to a plist.
-Valid keys and the corresponding value types are:
-
- `:url' (string)
- The URL of the repository used to fetch the package source.
-
- `:branch' (string)
- If given, the name of the branch to checkout after cloning the directory.
-
- `:lisp-dir' (string)
- The repository-relative name of the directory to use for loading the Lisp
- sources. If not given, the value defaults to the root directory
- of the repository.
-
- `:main-file' (string)
- The main file of the project, relevant to gather package metadata.
- If not given, the assumed default is the package name with \".el\"
- appended to it.
-
- `:vc-backend' (symbol)
- A symbol of the VC backend to use for cloning the package. The
- value ought to be a member of `vc-handled-backends'. If omitted,
- `vc-clone' will fall back onto the archive default or on
- `package-vc-default-backend'.
-
-All other values are ignored.")
+The list maps each package name, as a string, to a plist as
+specified in `package-vc-selected-packages'.")
(defvar package-vc--archive-data-alist nil
"List of package specification metadata for archives.
- master 83ff0de4ce 07/42: Fix 'package-vc-selected-packages' documentation, (continued)
- master 83ff0de4ce 07/42: Fix 'package-vc-selected-packages' documentation, Philip Kaludercic, 2022/11/17
- master 3ff8310cc3 06/42: Mark 'package-vc-update' as interactive, Philip Kaludercic, 2022/11/17
- master 13d051b443 11/42: Remove references to internal symbols from public docstrings, Philip Kaludercic, 2022/11/17
- master e1ce202ad1 04/42: Mark 'package-vc-install-selected-packages' as interactive, Philip Kaludercic, 2022/11/17
- master 32758c6da0 08/42: Fix the docstring for 'package-vc--version', Philip Kaludercic, 2022/11/17
- master f939859fe4 09/42: Clarify 'package-vc--build-documentation' docstring, Philip Kaludercic, 2022/11/17
- master b0200a37e4 10/42: Expand 'package-vc--unpack-1' documentation, Philip Kaludercic, 2022/11/17
- master 2ec02024ab 14/42: Track 'default-directory' while updating source packages, Philip Kaludercic, 2022/11/17
- master d67b66f8ab 13/42: Respect :lisp-dir in package specs by loading a sub-directory, Philip Kaludercic, 2022/11/17
- master c53c5f3884 15/42: Rename 'package-vc-refresh' to 'package-vc-rebuild', Philip Kaludercic, 2022/11/17
- master 348f7d263c 17/42: Move package spec documentation to 'package-vc-selected-packages',
Philip Kaludercic <=
- master 2b93d0e6f1 16/42: Fix type error in package-vc prompt function, Philip Kaludercic, 2022/11/17
- master 7c3d3fa44e 19/42: Improve robustness of documentation generation, Philip Kaludercic, 2022/11/17
- master ccd7ab84c5 20/42: Fix edebug spec for 'package--with-response-buffer', Philip Kaludercic, 2022/11/17
- master 496c578d9c 22/42: Have 'package-vc-selected-packages' consider all installed packages, Philip Kaludercic, 2022/11/17
- master a467afbd98 25/42: Mention package name when package is lacking VC data, Philip Kaludercic, 2022/11/17
- master 7ab556b576 29/42: Improve robustness of 'package-vc-update', Philip Kaludercic, 2022/11/17
- master 3326337776 30/42: Avoid destructive manipulation of 'package-vc--archive-spec-alist', Philip Kaludercic, 2022/11/17
- master 32f51f17c4 33/42: Remove temporary .texi files if used to build documentation, Philip Kaludercic, 2022/11/17
- master 228c247e6f 34/42: Remove duplicate package descriptions after updating, Philip Kaludercic, 2022/11/17
- master 4bd7ae833f 36/42: Allow the direct installation of package specifications, Philip Kaludercic, 2022/11/17