From: Dan Nicolaescu Date: Sun, 6 Apr 2008 17:30:40 +0000 (+0000) Subject: (vc-status-prepare-status-buffer): X-Git-Tag: emacs-pretest-23.0.90~6494 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4dc2220833024c4c40ad52510ec8d6d6f3cf8769;p=emacs.git (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c56fd89c979..6ac5f553f93 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-04-06 Dan Nicolaescu + + * vc.el (vc-status-prepare-status-buffer): + Reset vc-parent-buffer-name. + 2008-04-06 Jason Rumney * language/burmese.el ("Burmese"): Make sample text consistent with diff --git a/lisp/vc.el b/lisp/vc.el index a9c08797538..ec22c49d17b 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -2759,6 +2759,9 @@ specific headers." (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