changeset 93772:061a2121a7e8

(vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 06 Apr 2008 17:30:40 +0000
parents 0c40710443e6
children d7554c14325c
files lisp/ChangeLog lisp/vc.el
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Apr 06 15:21:36 2008 +0000
+++ b/lisp/ChangeLog	Sun Apr 06 17:30:40 2008 +0000
@@ -1,3 +1,8 @@
+2008-04-06  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* vc.el (vc-status-prepare-status-buffer):
+	Reset vc-parent-buffer-name.
+
 2008-04-06  Jason Rumney  <jasonr@gnu.org>
 
 	* language/burmese.el ("Burmese"): Make sample text consistent with
--- a/lisp/vc.el	Sun Apr 06 15:21:36 2008 +0000
+++ b/lisp/vc.el	Sun Apr 06 17:30:40 2008 +0000
@@ -2759,6 +2759,9 @@
       (with-current-buffer (create-file-buffer bname)
 	(cd dir)
 	(vc-setup-buffer (current-buffer))
+	;; Reset the vc-parent-buffer-name so that it does not appear
+	;; in the mode-line.
+	(setq vc-parent-buffer-name nil)
 	(current-buffer)))))
 
 ;;;###autoload