emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/vc-fossil 7c5af95 102/111: enable Fossil VC backend at loa


From: ELPA Syncer
Subject: [nongnu] elpa/vc-fossil 7c5af95 102/111: enable Fossil VC backend at load / autoload time
Date: Wed, 29 Sep 2021 08:59:29 -0400 (EDT)

branch: elpa/vc-fossil
commit 7c5af95181213db38f81f5f9586f3334301a3ea0
Author: Barak A. Pearlmutter <barak+git@pearlmutter.net>
Commit: Barak A. Pearlmutter <barak+git@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]