]> git.eshelyaron.com Git - emacs.git/commit
Move package-vc-heuristic-alist and related to vc.el
authorAleksandr Vityazev <avityazev@disroot.org>
Thu, 24 Oct 2024 12:11:44 +0000 (15:11 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 25 Oct 2024 06:31:52 +0000 (08:31 +0200)
commit5c982af5d587fcf8f1e5d7bbe8a7da3b8587e147
tree86a8508185bc6d555414213aabdc807325c8927b
parent592a025b373db0b4d13a54a6d167d942bff81b1b
Move package-vc-heuristic-alist and related to vc.el

* lisp/emacs-lisp/package-vc.el (package-vc--backend-type)
(package-vc-heuristic-alist, package-vc--guess-backend): Rename
to vc-cloneable-backends-custom-type, vc-clone-heuristic-alist
and vc-guess-url-backend respectively, and move to
lisp/vc/vc.el.  Make package-vc-heuristic-alist an obsolete
alias.
(package-vc--clone, package-vc--read-package-name)
(package-vc-install, package-vc-checkout): Use
vc-guess-url-backend.
* lisp/vc/vc.el (vc-cloneable-backends-custom-type)
(vc-clone-heuristic-alist, vc-guess-url-backend): New defconst,
defcustom and defun, respectively: renamed and moved here from
lisp/emacs-lisp/package-vc.el.

(cherry picked from commit 98b02f56d12f2f39a6667d33d50f9e551a267d6d)
lisp/emacs-lisp/package-vc.el
lisp/vc/vc.el