2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
+ * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
+
* minibuffer.el (completion-try-completion): Change magic symbol
property name. Rename from minibuffer-try-completion.
(completion-all-completions): Rename from minibuffer-all-completions.
(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)))