summaryrefslogtreecommitdiff
path: root/lisp/vc.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-04-06 17:30:40 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-04-06 17:30:40 +0000
commit4dc2220833024c4c40ad52510ec8d6d6f3cf8769 (patch)
treecaa0eafd714a0d5c661dd198c794eb70284633d9 /lisp/vc.el
parent312082e9dca5c241c4eb1602674589a2e15d634e (diff)
downloademacs-4dc2220833024c4c40ad52510ec8d6d6f3cf8769.tar.gz
(vc-status-prepare-status-buffer):
Reset vc-parent-buffer-name.
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