changeset 5428:e66b058ec9f6

(vc-finish-logentry): Sync the buffer in case the user modified it while editing the comment.
author Paul Eggert <eggert@twinsun.com>
date Mon, 03 Jan 1994 20:53:26 +0000
parents cde2cde50796
children 87c67c389867
files lisp/vc.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Mon Jan 03 20:06:28 1994 +0000
+++ b/lisp/vc.el	Mon Jan 03 20:53:26 1994 +0000
@@ -668,6 +668,10 @@
 	    (setq vc-comment-ring (make-ring vc-maximum-comment-ring-size)))
 	(ring-insert vc-comment-ring (buffer-string))
 	))
+  ;; Sync parent buffer in case the user modified it while editing the comment.
+  (save-excursion
+    (set-buffer vc-parent-buffer)
+    (vc-buffer-sync))
   ;; OK, do it to it
   (if vc-log-operation
       (save-excursion