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:
parent
9852a51d14
commit
e6244c1bcd
3 changed files with 3 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue