summaryrefslogtreecommitdiff
path: root/lisp/vc.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc.el')
-rw-r--r--lisp/vc.el3
1 files changed, 3 insertions, 0 deletions
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