diff options
author | John Paul Wallington <jpw@pobox.com> | 2008-04-30 23:55:05 +0000 |
---|---|---|
committer | John Paul Wallington <jpw@pobox.com> | 2008-04-30 23:55:05 +0000 |
commit | b4c5fc9ff1df6799c2b69a3e56de85bfb701e9d2 (patch) | |
tree | 59b66bf433fcd843a20f1f96fc7c30f4a9702249 /lisp/ibuffer.el | |
parent | 97e089f64dd3d339c926bcd8dbe79ecfaf26f350 (diff) | |
download | emacs-b4c5fc9ff1df6799c2b69a3e56de85bfb701e9d2.tar.gz |
(define-ibuffer-column filename): When the major mode is `vc-dir-mode'
show the buffer's default directory.
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r-- | lisp/ibuffer.el | 2 |
1 files changed, 2 insertions, 0 deletions
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 |