]> code.delx.au - gnu-emacs/commitdiff
(vc-arch-diff): Don't diff asynchronously if vc-disable-async-diff is
authorAndré Spiegel <spiegel@gnu.org>
Sun, 9 Jan 2005 21:29:27 +0000 (21:29 +0000)
committerAndré Spiegel <spiegel@gnu.org>
Sun, 9 Jan 2005 21:29:27 +0000 (21:29 +0000)
t.

lisp/vc-arch.el

index 40ec2fb3884a9f95c247d7f868e17bbdaa5cdcc5..b821928c539ebaef446bd345b0c086ccd3514e15 100644 (file)
@@ -377,7 +377,7 @@ Return non-nil if FILE is unchanged."
       (setq newvers nil))
   (if newvers
       (error "Diffing specific revisions not implemented.")
-    (let* ((async (fboundp 'start-process))
+    (let* ((async (and (not vc-disable-async-diff) (fboundp 'start-process)))
           ;; Run the command from the root dir.
           (default-directory (vc-arch-root file))
           (status