]> git.eshelyaron.com Git - emacs.git/commit
(vc-context-matches-p): New function.
authorAndré Spiegel <spiegel@gnu.org>
Sun, 8 Mar 1998 10:03:50 +0000 (10:03 +0000)
committerAndré Spiegel <spiegel@gnu.org>
Sun, 8 Mar 1998 10:03:50 +0000 (10:03 +0000)
commit4b398f5de97a70bf211b04a65abf130fa102b4ed
treeb5719d32f207c53457ceb5a17df91a9426d27df2
parent3c3d11e7764c2afc4496c21a0f2356ab45abf88d
(vc-context-matches-p): New function.
(vc-restore-buffer-context): Restore point and mark only if they don't
match the context.
(vc-revert-buffer1, vc-clear-headers): Use save-excursion to relocate
point and mark, and vc-restore-buffer-context as a backup.
(vc-resynch-buffer): When operating on the current buffer, don't use
save-excursion, because that would undo the effects of the above
functions.
(vc-resynch-window): Deleted code that removed vc-find-file-hook
temporarily.  This was unnecessary, because find-file-hooks are not
called when the buffer is reverted.
(vc-register): Added comment for prev change.
lisp/vc.el