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

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

[nongnu] elpa/vc-fossil 9856860 021/111: appropriate autoload, and consi


From: ELPA Syncer
Subject: [nongnu] elpa/vc-fossil 9856860 021/111: appropriate autoload, and consistent "add fossil" expression in docs
Date: Wed, 29 Sep 2021 08:59:13 -0400 (EDT)

branch: elpa/vc-fossil
commit 9856860c56c786bd99f9b22d52fd06cbe801d17d
Author: barak <barak>
Commit: barak <barak>

    appropriate autoload, and consistent "add fossil" expression in docs
---
 doc/index.wiki     | 3 +--
 vc/el/vc-fossil.el | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/index.wiki b/doc/index.wiki
index f8aa82f..dd6d9d5 100644
--- a/doc/index.wiki
+++ b/doc/index.wiki
@@ -14,8 +14,7 @@ Add this to your .emacs file, or cut and paste this into 
*scratch* buffer and do
 <code>C-x e</code> to execute it.   
 
 <pre>
-(unless (memq 'Fossil vc-handled-backends)
-  (push 'Fossil vc-handled-backends))
+(add-to-list 'vc-handled-backends 'Fossil)
 (load-file "/path/to/this/project/vc/el/vc-fossil.el")
 </pre>
 
diff --git a/vc/el/vc-fossil.el b/vc/el/vc-fossil.el
index ac2e344..3a14868 100644
--- a/vc/el/vc-fossil.el
+++ b/vc/el/vc-fossil.el
@@ -80,6 +80,7 @@
 
 ;;; STATE-QUERYING FUNCTIONS
 
+;;;###autoload
 (defun vc-fossil-registered (file)
   "Check whether FILE is registered with fossil."
   (with-temp-buffer



reply via email to

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