summaryrefslogtreecommitdiff
path: root/lisp/vc-svn.el
diff options
context:
space:
mode:
authorAndré Spiegel <spiegel@gnu.org>2005-01-09 21:30:56 +0000
committerAndré Spiegel <spiegel@gnu.org>2005-01-09 21:30:56 +0000
commitf1c01829c574d714c1b415cb213e130cb04a5e80 (patch)
tree89461830024ad088dbf4c24d89121d9c94b23593 /lisp/vc-svn.el
parentdab4c1161bc8095a01c3eb1c1c0e46b6c85b8abb (diff)
downloademacs-f1c01829c574d714c1b415cb213e130cb04a5e80.tar.gz
(vc-svn-diff): Don't diff asynchronously if vc-disable-async-diff is
t.
Diffstat (limited to 'lisp/vc-svn.el')
-rw-r--r--lisp/vc-svn.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el
index 553024f636d..f783066b39b 100644
--- a/lisp/vc-svn.el
+++ b/lisp/vc-svn.el
@@ -372,7 +372,8 @@ The changes are between FIRST-VERSION and SECOND-VERSION."
(if vc-svn-diff-switches
(vc-switches 'SVN 'diff)
(list "-x" (mapconcat 'identity (vc-switches nil 'diff) " "))))
- (async (and (vc-stay-local-p file)
+ (async (and (not vc-disable-async-diff)
+ (vc-stay-local-p file)
(or oldvers newvers) ; Svn diffs those locally.
(fboundp 'start-process))))
(apply 'vc-svn-command buffer