Mercurial > emacs
diff lisp/vc.el @ 95017:7be06414cb71
Remove assumptions about buffer names.
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Thu, 15 May 2008 14:32:49 +0000 |
parents | ebce6f4852ad |
children | 2253b8d4def6 |
line wrap: on
line diff
--- a/lisp/vc.el Thu May 15 13:50:55 2008 +0000 +++ b/lisp/vc.el Thu May 15 14:32:49 2008 +0000 @@ -1983,7 +1983,7 @@ (defun vc-dir (dir) "Show the VC status for DIR." (interactive "DVC status for directory: ") - (pop-to-buffer (vc-dir-prepare-status-buffer dir)) + (pop-to-buffer (vc-dir-prepare-status-buffer "*vc-dir*" dir)) (if (and (derived-mode-p 'vc-dir-mode) (boundp 'client-object)) (vc-dir-refresh) ;; Otherwise, initialize a new view using the dispatcher layer