diff options
| author | Philip Kaludercic | 2023-05-06 20:51:39 +0200 |
|---|---|---|
| committer | Philip Kaludercic | 2023-05-06 20:51:49 +0200 |
| commit | dfde902f3b9c7eea7e58e09c4d52c1346ef52ee4 (patch) | |
| tree | a9c88c194148f31f9c4440c25e2476e44f8a9584 | |
| parent | 71337843036d6a6b53aedcf898febd1b591b5f41 (diff) | |
| download | emacs-dfde902f3b9c7eea7e58e09c4d52c1346ef52ee4.tar.gz emacs-dfde902f3b9c7eea7e58e09c4d52c1346ef52ee4.zip | |
; Expand 'package-vc-install' documentation
* lisp/emacs-lisp/package-vc.el (package-vc-install): Go into further
detail on the handling of the REV argument. (Bug#60418)
| -rw-r--r-- | lisp/emacs-lisp/package-vc.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index 8f62e7d65f3..85193dd7a30 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el | |||
| @@ -747,11 +747,13 @@ indicating the package name and SPEC is a plist as described in | |||
| 747 | symbol whose name is the package name, and the URL for the | 747 | symbol whose name is the package name, and the URL for the |
| 748 | package will be taken from the package's metadata. | 748 | package will be taken from the package's metadata. |
| 749 | 749 | ||
| 750 | By default, this function installs the last version of the package | 750 | By default, this function installs the last revision of the |
| 751 | available from its repository, but if REV is given and non-nil, it | 751 | package available from its repository. If REV is a string, it |
| 752 | specifies the revision to install. If REV has the special value | 752 | describes the revision to install, as interpreted by the VC |
| 753 | `:last-release' (interactively, the prefix argument), that stands | 753 | backend. The special value `:last-release' (interactively, the |
| 754 | for the last released version of the package. | 754 | prefix argument), will use the commit of the latest release, if |
| 755 | it exists. The last release is the latest revision which changed | ||
| 756 | the \"Version:\" header of the package's main Lisp file. | ||
| 755 | 757 | ||
| 756 | Optional argument BACKEND specifies the VC backend to use for cloning | 758 | Optional argument BACKEND specifies the VC backend to use for cloning |
| 757 | the package's repository; this is only possible if NAME-OR-URL is a URL, | 759 | the package's repository; this is only possible if NAME-OR-URL is a URL, |