changeset 94501:122329aa3a92

(define-ibuffer-column filename): When the major mode is `vc-dir-mode' show the buffer's default directory.
author John Paul Wallington <jpw@pobox.com>
date Wed, 30 Apr 2008 23:50:38 +0000
parents c7dd1427c429
children ce541b36427b
files lisp/ibuffer.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Wed Apr 30 19:03:54 2008 +0000
+++ b/lisp/ibuffer.el	Wed Apr 30 23:50:38 2008 +0000
@@ -1759,6 +1759,8 @@
 	      (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