From 414408cdabe4e28ffb3729908b54bfd00f33372d Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Wed, 2 Jul 2008 13:28:01 +0000 Subject: [PATCH] (ibuffer-buffer-file-name): Use `list-buffers-directory'. Remove special-casing for `cvs-mode' and `vc-dir-mode'. Suggested by Dan Nicolaescu. --- lisp/ibuffer.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 6843602bd52..cfbd1df4cdd 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -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))) "")) -- 2.39.2