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