Mercurial > emacs
view nt/_emacs @ 21113:fcf0d1459d81
(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.
author | André Spiegel <spiegel@gnu.org> |
---|---|
date | Sun, 08 Mar 1998 10:03:50 +0000 |
parents | 1877e9736ea1 |
children |
line wrap: on
line source
;;; This is the user emacs startup file (.emacs in Unix land). (put 'eval-expression 'disabled nil)