]> git.eshelyaron.com Git - emacs.git/commit
; Refine 'defcustom' types in 'package-vc'
authorEshel Yaron <me@eshelyaron.com>
Sun, 20 Aug 2023 14:20:54 +0000 (16:20 +0200)
committerPhilip Kaludercic <philipk@posteo.net>
Tue, 29 Aug 2023 08:41:53 +0000 (10:41 +0200)
commit72ab5dc0b4b6fab7427b808b3e5d54484b983ed5
tree08e4d4983e600ffa8c555fcc83006dfa66d8c08d
parent82b13f0d1c58390624974ffb03a763be789ec652
; Refine 'defcustom' types in 'package-vc'

Only include VC backends that support cloning in the ':type' of
'package-vc-heuristic-alist' and 'package-vc-default-backend', and
compute the list of relevant on demand to keep it fresh.

* lisp/emacs-lisp/package-vc.el (package-vc--backend-type): New constant.
(package-vc-heuristic-alist, package-vc-default-backend): Use it.  (Bug#65386)
lisp/emacs-lisp/package-vc.el