]> git.eshelyaron.com Git - emacs.git/commitdiff
(ibuffer-buffer-file-name): Use `list-buffers-directory'. Remove
authorJohn Paul Wallington <jpw@pobox.com>
Wed, 2 Jul 2008 13:28:01 +0000 (13:28 +0000)
committerJohn Paul Wallington <jpw@pobox.com>
Wed, 2 Jul 2008 13:28:01 +0000 (13:28 +0000)
special-casing for `cvs-mode' and `vc-dir-mode'.
Suggested by Dan Nicolaescu.

lisp/ibuffer.el

index 6843602bd52143d28967fb8e5b7575f6f7c24cba..cfbd1df4cddc2d2e7f83987ad83963bd33829c30 100644 (file)
@@ -1242,8 +1242,7 @@ a new window in the current frame, splitting vertically."
                              (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)))
       ""))