(define-ibuffer-column filename): When the major mode is `vc-dir-mode'

show the buffer's default directory.
This commit is contained in:
John Paul Wallington 2008-04-30 23:55:05 +00:00
parent 97e089f64d
commit b4c5fc9ff1
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-04-30 John Paul Wallington <jpw@pobox.com>
* ibuffer.el (define-ibuffer-column filename): When the major mode
is `vc-dir-mode' show the buffer's default directory.
2008-04-30 Sam Steingold <sds@gnu.org>
* vc.el (vc-dir-delete-file): Add.

View file

@ -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