From: Stefan Monnier Date: Wed, 24 Mar 2010 17:33:39 +0000 (-0400) Subject: * vc-dir.el (vc-dir-headers): Abbreviate the working dir. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~662 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b2b8574b8d03673f5673e2154d17c2cb80f59a0b;p=emacs.git * vc-dir.el (vc-dir-headers): Abbreviate the working dir. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b9992188bf4..3c9888182f8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-03-24 Stefan Monnier + + * vc-dir.el (vc-dir-headers): Abbreviate the working dir. + 2010-03-24 Glenn Morris * 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 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"))