diff options
| author | André Spiegel | 2005-01-09 21:29:54 +0000 |
|---|---|---|
| committer | André Spiegel | 2005-01-09 21:29:54 +0000 |
| commit | fb7454e809b19673030c2fc9640e6f0b768737f4 (patch) | |
| tree | 1242f7df4bd877bd14b839a5c94c9bc69f6142b1 /lisp | |
| parent | 160a154482df404ae37d64abfcc3d81b5bce23f5 (diff) | |
| download | emacs-fb7454e809b19673030c2fc9640e6f0b768737f4.tar.gz emacs-fb7454e809b19673030c2fc9640e6f0b768737f4.zip | |
(vc-mcvs-diff): Don't diff asynchronously if vc-disable-async-diff is
t.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/vc-mcvs.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/vc-mcvs.el b/lisp/vc-mcvs.el index ea577489239..aca8bcd66f0 100644 --- a/lisp/vc-mcvs.el +++ b/lisp/vc-mcvs.el | |||
| @@ -446,7 +446,9 @@ The changes are between FIRST-VERSION and SECOND-VERSION." | |||
| 446 | (append (vc-switches nil 'diff) '("/dev/null"))) | 446 | (append (vc-switches nil 'diff) '("/dev/null"))) |
| 447 | ;; Even if it's empty, it's locally modified. | 447 | ;; Even if it's empty, it's locally modified. |
| 448 | 1) | 448 | 1) |
| 449 | (let* ((async (and (vc-stay-local-p file) (fboundp 'start-process))) | 449 | (let* ((async (and (not vc-disable-async-diff) |
| 450 | (vc-stay-local-p file) | ||
| 451 | (fboundp 'start-process))) | ||
| 450 | ;; Run the command from the root dir so that `mcvs filt' returns | 452 | ;; Run the command from the root dir so that `mcvs filt' returns |
| 451 | ;; valid relative names. | 453 | ;; valid relative names. |
| 452 | (default-directory (vc-mcvs-root file)) | 454 | (default-directory (vc-mcvs-root file)) |