Try to handle buffer/file modifications which conflict with VCS locking.
commit58ba7b1b558e4803100905bd5fff0004e4ddd261
authorChong Yidong <cyd@gnu.org>
Sun, 6 Jan 2013 02:58:57 +0000 (6 10:58 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 6 Jan 2013 02:58:57 +0000 (6 10:58 +0800)
tree4178391df8457041a8c8a89ea8c20a9a45005799
parent56ed110a17fc377f1d0a39eb3f01e4fd03a65709
Try to handle buffer/file modifications which conflict with VCS locking.

* vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.

* vc/vc.el (vc-next-action): Detect buffer modifications
conflicting with locking VCS operation.

Fixes: debbugs:11490
lisp/ChangeLog
lisp/vc/vc-hooks.el
lisp/vc/vc.el