diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-03-24 13:33:39 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-03-24 13:33:39 -0400 |
commit | b2b8574b8d03673f5673e2154d17c2cb80f59a0b (patch) | |
tree | 379e942798a475c4145c7c8ec51981060262741e /lisp/vc-dir.el | |
parent | 5f2484c238e76640773d6093a1ebbdbf0e98b1e3 (diff) | |
download | emacs-b2b8574b8d03673f5673e2154d17c2cb80f59a0b.tar.gz |
* vc-dir.el (vc-dir-headers): Abbreviate the working dir.
Diffstat (limited to 'lisp/vc-dir.el')
-rw-r--r-- | lisp/vc-dir.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el index a0350eb3013..1eaec28e8be 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")) |