[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master f302475: Make vc-dir default to repository root
From: |
Daniel Colascione |
Subject: |
[Emacs-diffs] master f302475: Make vc-dir default to repository root |
Date: |
Tue, 20 Jan 2015 05:45:31 +0000 |
branch: master
commit f302475471df0553b3ee442112981f9b146e0b55
Author: Daniel Colascione <address@hidden>
Commit: Daniel Colascione <address@hidden>
Make vc-dir default to repository root
* lisp/vc/vc-dir.el (vc-dir): Default to repository root, not
default-directory.
---
lisp/ChangeLog | 5 +++++
lisp/vc/vc-dir.el | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cabad65..22a06a9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-20 Daniel Colascione <address@hidden>
+
+ * vc/vc-dir.el (vc-dir): Default to repository root, not
+ default-directory.
+
2015-01-20 Dmitry Gutov <address@hidden>
* progmodes/etags.el (xref-etags-location): New class.
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 8bba79c..e050c94 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master f302475: Make vc-dir default to repository root,
Daniel Colascione <=