From b4c5fc9ff1df6799c2b69a3e56de85bfb701e9d2 Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Wed, 30 Apr 2008 23:55:05 +0000 Subject: (define-ibuffer-column filename): When the major mode is `vc-dir-mode' show the buffer's default directory. --- lisp/ibuffer.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/ibuffer.el') diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 4aafea04855..fbd3769edd7 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -1759,6 +1759,8 @@ If point is on a group name, this function operates on that group." (if (stringp dired-directory) dired-directory (car dired-directory))) + (and (eq major-mode 'vc-dir-mode) + (bound-and-true-p default-directory)) "")))) (define-ibuffer-column filename-and-process -- cgit v1.2.1