changeset 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 c09516cc5cf4
children 28a10b30dfc6
files lisp/ChangeLog lisp/vc.el
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Apr 21 20:28:45 2008 +0000
+++ b/lisp/ChangeLog	Mon Apr 21 20:40:51 2008 +0000
@@ -5,6 +5,8 @@
 
 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.
--- 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)))