diff options
author | John Paul Wallington <jpw@pobox.com> | 2008-04-30 23:50:38 +0000 |
---|---|---|
committer | John Paul Wallington <jpw@pobox.com> | 2008-04-30 23:50:38 +0000 |
commit | 978d16a8bd2e75b8113065af02024ae0e11e8e51 (patch) | |
tree | edd80543cf2c731c967e0ef51d7e04447275699b /lisp/ibuffer.el | |
parent | 6c1b122321db6c2bda4ce384d723d06b0a66f392 (diff) | |
download | emacs-978d16a8bd2e75b8113065af02024ae0e11e8e51.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 |