mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Remove assumptions about buffer names.
This commit is contained in:
parent
97275f80a9
commit
d536a90488
3 changed files with 19 additions and 16 deletions
|
|
@ -1983,7 +1983,7 @@ outside of VC) and one wants to do some operation on it."
|
|||
(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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue