Commit f3024754 authored by Daniel Colascione's avatar Daniel Colascione
Browse files

Make vc-dir default to repository root

* lisp/vc/vc-dir.el (vc-dir): Default to repository root, not
default-directory.
parent ef5a526f
2015-01-20 Daniel Colascione <dancol@dancol.org>
* vc/vc-dir.el (vc-dir): Default to repository root, not
default-directory.
2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/etags.el (xref-etags-location): New class.
......
......@@ -1241,7 +1241,7 @@ These are the commands available for use in the file status buffer:
;; Otherwise if you do C-x v d -> C-x C-f -> C-c v d
;; you may get a new *vc-dir* buffer, different from the original
(file-truename (read-directory-name "VC status for directory: "
default-directory default-directory t
(vc-root-dir) nil t
nil))
(if current-prefix-arg
(intern
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment