Michael Kifer writes:
> > Viper requires some functions defined in vc-hooks.el
>
> Can this dependency be removed? It is a rather non-obvious
> dependency, much like EFS requiring VM, and it would a be a good
> thing if the linkage could be made to go away.
It needs to know whether a file is under version control.
For this, it uses vc-backend. I could never understand why vc-hooks.el is
such a bad thing to depend on.
I think you can assume that if vc-backend is not a valid function
()vc-hooks not loaded), then for your purposes the file is not
under version control.
We don't load vc-hooks by default because VC is not universally
liked and once vc-hooks is loaded, you're pretty much stuck with
VC.