changeset 12327:2a02456ddc4b

(vc-fetch-master-properties): Be more careful about killing the *vc-info* buffer.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Jun 1995 01:07:28 +0000
parents b99947e6b447
children dbc55496f684
files lisp/vc-hooks.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-hooks.el	Tue Jun 20 00:00:14 1995 +0000
+++ b/lisp/vc-hooks.el	Tue Jun 20 01:07:28 1995 +0000
@@ -308,7 +308,8 @@
 	      ((string-match "Needs Merge" status)
 	       (vc-file-setprop file 'vc-cvs-status 'needs-merge))
 	      (t (vc-file-setprop file 'vc-cvs-status nil))))))
-    (kill-buffer (current-buffer))))
+    (if (get-buffer "*vc-info*")
+	(kill-buffer (get-buffer "*vc-info*")))))
 
 ;;; Functions that determine property values, by examining the 
 ;;; working file, the master file, or log program output