Mercurial > emacs
diff lisp/vc-hooks.el @ 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 | 6d99dc5117e3 |
children | 2e2af003b9c5 |
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