emacs-devel
[Top][All Lists]
Advanced

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

RE: vc-state always calls heuristic function


From: klaus.berndl
Subject: RE: vc-state always calls heuristic function
Date: Fri, 3 Dec 2004 08:32:32 +0100

Kevin Rodgers wrote:
> Stefan Monnier wrote:
>  > There's vc-cvs-stay-local, it's customizable, it does what you
>  want. > Don't use vc-cvs-stay-local (of course): just tell your
> users that if they
>  > want fresh-but-slow state, they can tweak that variable.
> 
> What would be wrong with ECB doing
> 
> (let ((vc-cvs-stay-local nil))
>    (vc-state FILE))

vc-cvs-stay-local does not infect vc-state - vc-state calls always(!)
vc-cvs-state-heuristic (in case of CVS) and this function doesn
not use this variable!

Only vc-recompute-state (and the delegation to vc-cvs-state) use it..

Klaus




reply via email to

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