Commit 414408cd authored by John Paul Wallington's avatar John Paul Wallington
Browse files

(ibuffer-buffer-file-name): Use `list-buffers-directory'. Remove

special-casing for `cvs-mode' and `vc-dir-mode'.
Suggested by Dan Nicolaescu.
parent cf7241c8
......@@ -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)))
""))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment