1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Cleanup preparatory to getting rid of dired.

This commit is contained in:
Eric S. Raymond 2008-05-06 23:56:49 +00:00
parent 9852a51d14
commit e6244c1bcd
3 changed files with 3 additions and 16 deletions

View file

@ -1712,7 +1712,7 @@ Otherwise, throw an error."
(dolist (file files)
(let ((visited (get-file-buffer file)))
(when visited
(if (or vc-dired-mode (eq major-mode 'vc-dir-mode))
(if (vc-dispatcher-browsing)
(switch-to-buffer-other-window visited)
(set-buffer visited))
;; Check relation of buffer and file, and make sure