Change VC-BACKEND-LOCKING-USER so that it doesn't call
authorChris Hanson <org/chris-hanson/cph>
Mon, 21 Aug 2000 04:55:34 +0000 (04:55 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 21 Aug 2000 04:55:34 +0000 (04:55 +0000)
commitdff23ac2edf2fec60207744f05e41684d74b0c62
treeae186b4a5b4d6c768d27e0acceddcf75b24e1833
parentbf406632289417d93cbda667b528cfb1e155c454
Change VC-BACKEND-LOCKING-USER so that it doesn't call
VC-WORKFILE-MODIFIED?.  The problem is that the latter can call
VC-BACKEND-DIFF, which requires access to the CVS server.  However,
since VC-BACKEND-LOCKING-USER is called by VC-MODE-LINE, this meant
that every time the mode-line changed, we had to probe the server.
This patch eliminates that requirement.

The patch also tries to notice the results of user-initiated diffs,
and update the mode-line's idea of whether the file is modified.
However, Emacs doesn't seem to behave quite the same way.  Maybe this
is a bad idea and should be reverted.
v7/src/edwin/vc.scm