summaryrefslogtreecommitdiff
path: root/lisp/vc-dispatcher.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>2008-05-06 23:56:49 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>2008-05-06 23:56:49 +0000
commite6244c1bcd3d81b1512fc542fd3d947ca0333ab7 (patch)
tree2413ae1d7b4e633e51492ef396a838e125bd9372 /lisp/vc-dispatcher.el
parent9852a51d14ed3c0eb93537a7abe4e59fb9e35bb3 (diff)
downloademacs-e6244c1bcd3d81b1512fc542fd3d947ca0333ab7.tar.gz
Cleanup preparatory to getting rid of dired.
Diffstat (limited to 'lisp/vc-dispatcher.el')
-rw-r--r--lisp/vc-dispatcher.el2
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