From: Philip Kaludercic Date: Sat, 5 Nov 2022 15:31:16 +0000 (+0100) Subject: ; Rename 'package-vc-link-directory' to '-install-from-checkout' X-Git-Tag: emacs-29.0.90~1616^2~283 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1557bb9d8f1f2f99aa5a594bdb1c7aa1c7546b97;p=emacs.git ; Rename 'package-vc-link-directory' to '-install-from-checkout' * doc/emacs/package.texi (Fetching Package Sources): Rename instances * etc/NEWS: Rename instances. * lisp/emacs-lisp/package-vc.el (package-vc-link-directory): Rename to 'package-vc-install-from-checkout'. --- diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi index bd11648e572..e8af35e2e3d 100644 --- a/doc/emacs/package.texi +++ b/doc/emacs/package.texi @@ -592,11 +592,11 @@ that you have customised. If you have made a change you wish to share with the maintainers, first commit your changes then use the command @code{package-vc-prepare-patch} to share it. @xref{Preparing Patches}. -@findex package-vc-link-directory +@findex package-vc-install-from-checkout @findex package-vc-refresh If you maintain your own packages you might want to use a local checkout instead of cloning a remote repository. You can do this by -using @code{package-vc-link-directory}, which creates a symbolic link +using @code{package-vc-install-from-checkout}, which creates a symbolic link from the package directory (@pxref{Package Files}) to your checkout and initialises the code. Note that you might have to use @code{package-vc-refresh} to repeat the initialisation and update the diff --git a/etc/NEWS b/etc/NEWS index edeb8fc3d03..559704312d3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1559,7 +1559,7 @@ Packages can now be installed directly from source by cloning from a repository. +++ -*** New command 'package-vc-link-directory' +*** New command 'package-vc-install-from-checkout' An existing checkout can now be loaded via package.el, by creating a symbolic link from the usual package directory to the checkout. diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index 96cf7bb4666..ae0f7e0ee14 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el @@ -28,8 +28,8 @@ ;; aren't interested in activating a package, you can use ;; `package-vc-checkout' instead, which will prompt you for a target ;; directory. If you wish to re-use an existing checkout, the command -;; `package-vc-link-directory' will create a symbolic link and prepare -;; the package. +;; `package-vc-install-from-checkout' will create a symbolic link and +;; prepare the package. ;; ;; If you make local changes that you wish to share with an upstream ;; maintainer, the command `package-vc-prepare-patch' can prepare @@ -665,7 +665,7 @@ for the last released version of the package." (find-file directory))) ;;;###autoload -(defun package-vc-link-directory (dir name) +(defun package-vc-install-from-checkout (dir name) "Set up the package NAME in DIR by linking it into the ELPA directory. Interactively, prompt the user for DIR, which should be a directory under version control, typically one created by `package-vc-checkout'.