diff options
Diffstat (limited to 'lisp/vc-dispatcher.el')
-rw-r--r-- | lisp/vc-dispatcher.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc-dispatcher.el b/lisp/vc-dispatcher.el index 3bfa65f915b..11f9c137084 100644 --- a/lisp/vc-dispatcher.el +++ b/lisp/vc-dispatcher.el @@ -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 |