summaryrefslogtreecommitdiff
path: root/lisp/ibuffer.el
diff options
context:
space:
mode:
authorJohn Paul Wallington <jpw@pobox.com>2008-07-02 13:28:01 +0000
committerJohn Paul Wallington <jpw@pobox.com>2008-07-02 13:28:01 +0000
commit414408cdabe4e28ffb3729908b54bfd00f33372d (patch)
tree4a8f5783dc618f23265772fbf7d55fd40358fd48 /lisp/ibuffer.el
parentcf7241c896a4344dacc0fe70ee287d00a98d791a (diff)
downloademacs-414408cdabe4e28ffb3729908b54bfd00f33372d.tar.gz
(ibuffer-buffer-file-name): Use `list-buffers-directory'. Remove
special-casing for `cvs-mode' and `vc-dir-mode'. Suggested by Dan Nicolaescu.
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r--lisp/ibuffer.el3
1 files changed, 1 insertions, 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)))
""))