Variable: package-vc-default-backend

package-vc-default-backend is a customizable variable defined in package-vc.el.gz.

Value

Git

Documentation

Default VC backend used when cloning a package repository.

If no repository type was specified or could be guessed by package-vc-heuristic-alist, this is the default VC backend used as fallback. The value must be a member of vc-handled-backends and the named backend must implement the clone function.

This variable was added, or its default value changed, in Emacs 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package-vc.el.gz
(defcustom package-vc-default-backend 'Git
  "Default VC backend used when cloning a package repository.
If no repository type was specified or could be guessed by
`package-vc-heuristic-alist', this is the default VC backend
used as fallback.  The value must be a member of
`vc-handled-backends' and the named backend must implement
the `clone' function."
  :type `(choice ,@(mapcar (lambda (b) (list 'const b))
                           vc-handled-backends))
  :version "29.1")