branch: elpa/vc-fossil commit 5a8e1a36c24b3127a7cab7c4187588ad5c459432 Author: barak <barak> Commit: barak <barak>
autoload in docs --- doc/index.wiki | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/index.wiki b/doc/index.wiki index dd6d9d5..ab04679 100644 --- a/doc/index.wiki +++ b/doc/index.wiki @@ -17,6 +17,12 @@ Add this to your .emacs file, or cut and paste this into *scratch* buffer and do (add-to-list 'vc-handled-backends 'Fossil) (load-file "/path/to/this/project/vc/el/vc-fossil.el") </pre> +or if you would rather load the file lazily, compile the file (see +below) and use this instead. +<pre> +(add-to-list 'vc-handled-backends 'Fossil) +(autoload 'vc-fossil-registered "/path/to/this/project/vc/el/vc-fossil.elc") +</pre> To compile the file (with warnings) do the following <pre>