1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

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

special-casing for `cvs-mode' and `vc-dir-mode'.
Suggested by Dan Nicolaescu.
This commit is contained in:
John Paul Wallington 2008-07-02 13:28:01 +00:00
parent cf7241c896
commit 414408cdab

View 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)))
""))