branch: elpa/vc-fossil commit 7c5af95181213db38f81f5f9586f3334301a3ea0 Author: Barak A. Pearlmutter <barak+...@pearlmutter.net> Commit: Barak A. Pearlmutter <barak+...@pearlmutter.net>
enable Fossil VC backend at load / autoload time --- vc/el/vc-fossil.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vc/el/vc-fossil.el b/vc/el/vc-fossil.el index 66c11f1..bb1b6c5 100644 --- a/vc/el/vc-fossil.el +++ b/vc/el/vc-fossil.el @@ -540,6 +540,14 @@ If REV is specified, annotate that revision." (defun vc-fossil-rename-file (old new) (vc-fossil--command nil 0 (list (file-truename old) (file-truename new)) "mv" "--hard")) +;;; This snippet enables the Fossil VC backend so it will work once +;;; this file is loaded. By also marking it for inclusion in the +;;; autoloads file, installing packaged versions of this should work +;;; without users having to monkey with their init files. + +;;;###autoload +(add-to-list 'vc-handled-backends 'Fossil t) + (provide 'vc-fossil) ;;; vc-fossil.el ends here