]> git.eshelyaron.com Git - emacs.git/commitdiff
* vc-dir.el (vc-dir-headers): Abbreviate the working dir.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 24 Mar 2010 17:33:39 +0000 (13:33 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 24 Mar 2010 17:33:39 +0000 (13:33 -0400)
lisp/ChangeLog
lisp/vc-dir.el

index b9992188bf416c43aa4ee0ca23fefde03b19bf6e..3c9888182f82c392c72fa29be66a482d569f1f9d 100644 (file)
@@ -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
index a0350eb3013193172b83b74e81cbc8d0c0f05c1a..1eaec28e8beb7aa6ef223f1beb5b4e1f4638e9b2 100644 (file)
@@ -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"))