changeset 96491:c427b6f2332a

(ibuffer-buffer-file-name): Use `list-buffers-directory'. Remove special-casing for `cvs-mode' and `vc-dir-mode'. Suggested by Dan Nicolaescu.
author John Paul Wallington <jpw@pobox.com>
date Wed, 02 Jul 2008 13:28:01 +0000
parents 2bab01f9c7bb
children 7d58361bf4f2
files lisp/ibuffer.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Wed Jul 02 13:27:18 2008 +0000
+++ b/lisp/ibuffer.el	Wed Jul 02 13:28:01 2008 +0000
@@ -1242,8 +1242,7 @@
 			      (if (stringp dired-directory)
 				  dired-directory
 				(car dired-directory)))
-			 (and (memq major-mode '(cvs-mode vc-dir-mode))
-			      (bound-and-true-p default-directory)))))
+			 (bound-and-true-p list-buffers-directory))))
 	(and dirname (expand-file-name dirname)))
       ""))