From 4dc2220833024c4c40ad52510ec8d6d6f3cf8769 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sun, 6 Apr 2008 17:30:40 +0000 Subject: [PATCH] (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name. --- lisp/ChangeLog | 5 +++++ lisp/vc.el | 3 +++ 2 files changed, 8 insertions(+) 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 -- 2.39.2