summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-03-24 13:33:39 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2010-03-24 13:33:39 -0400
commitb2b8574b8d03673f5673e2154d17c2cb80f59a0b (patch)
tree379e942798a475c4145c7c8ec51981060262741e
parent5f2484c238e76640773d6093a1ebbdbf0e98b1e3 (diff)
* vc-dir.el (vc-dir-headers): Abbreviate the working dir.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc-dir.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b9992188bf..3c9888182f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
+
2010-03-24 Glenn Morris <rgm@gnu.org>
* vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el
index a0350eb301..1eaec28e8b 100644
--- a/lisp/vc-dir.el
+++ b/lisp/vc-dir.el
@@ -950,7 +950,8 @@ specific headers."
(propertize "VC backend : " 'face 'font-lock-type-face)
(propertize (format "%s\n" backend) 'face 'font-lock-variable-name-face)
(propertize "Working dir: " 'face 'font-lock-type-face)
- (propertize (format "%s\n" dir) 'face 'font-lock-variable-name-face)
+ (propertize (format "%s\n" (abbreviate-file-name dir))
+ 'face 'font-lock-variable-name-face)
;; Then the backend specific ones.
(vc-call-backend backend 'dir-extra-headers dir)
"\n"))