Mercurial > emacs
changeset 107537:7c9abe9e21d1
* vc-dir.el (vc-dir-headers): Abbreviate the working dir.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 24 Mar 2010 13:33:39 -0400 |
parents | c00cf5aef925 |
children | 75e87467a0db |
files | lisp/ChangeLog lisp/vc-dir.el |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Mar 24 09:41:07 2010 -0400 +++ b/lisp/ChangeLog Wed Mar 24 13:33:39 2010 -0400 @@ -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
--- a/lisp/vc-dir.el Wed Mar 24 09:41:07 2010 -0400 +++ b/lisp/vc-dir.el Wed Mar 24 13:33:39 2010 -0400 @@ -950,7 +950,8 @@ (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"))