From 4aee4cde3aa3d9cdf4184af7c06f9ea7464c8824 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Sun, 13 Nov 2022 08:18:49 +0100 Subject: [PATCH] Explain that 'package-vc-install' doesn't remove tarball packages * lisp/emacs-lisp/package-vc.el (package-vc-install): Expand documentation. --- lisp/emacs-lisp/package-vc.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index 96ae518b216..acef568e549 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el @@ -645,7 +645,9 @@ name as deduced from NAME-OR-URL. Optional argument BACKEND specifies the VC backend to use for cloning the package's repository; this is only possible if NAME-OR-URL is a URL, a string. If BACKEND is omitted or nil, the function -uses `package-vc-heuristic-alist' to guess the backend." +uses `package-vc-heuristic-alist' to guess the backend. +Note that by default, a source package will be prioritised over a +regular package, but it will not remove a source package." (interactive (progn ;; Initialize the package system to get the list of package -- 2.39.5