diff lisp/vc.el @ 94214:c8b73a9f4c36

(vc-dir): Use pop-to-buffer, so it can be customized.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 21 Apr 2008 20:40:51 +0000
parents 0e75b2038de2
children 9f1f284d17b3
line wrap: on
line diff
--- a/lisp/vc.el	Mon Apr 21 20:28:45 2008 +0000
+++ b/lisp/vc.el	Mon Apr 21 20:40:51 2008 +0000
@@ -2799,7 +2799,7 @@
 (defun vc-dir (dir)
   "Show the VC status for DIR."
   (interactive "DVC status for directory: ")
-  (switch-to-buffer (vc-dir-prepare-status-buffer dir))
+  (pop-to-buffer (vc-dir-prepare-status-buffer dir))
   (if (eq major-mode 'vc-dir-mode)
       (vc-dir-refresh)
     (vc-dir-mode)))