diff options
| author | André Spiegel | 2005-01-09 21:28:53 +0000 |
|---|---|---|
| committer | André Spiegel | 2005-01-09 21:28:53 +0000 |
| commit | 92bafc3058d62344610c2584f1f83edab56d4f4b (patch) | |
| tree | 4b82ae935b64d09f578b43631bea469cafd91649 | |
| parent | f1d1d46a52739c06b484d13964e6ae9521492281 (diff) | |
| download | emacs-92bafc3058d62344610c2584f1f83edab56d4f4b.tar.gz emacs-92bafc3058d62344610c2584f1f83edab56d4f4b.zip | |
(vc-cvs-diff): Don't diff asynchronously if vc-disable-async-diff is
t.
| -rw-r--r-- | lisp/vc-cvs.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index 22346cab68c..2bca3fb90b1 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el | |||
| @@ -548,7 +548,9 @@ The changes are between FIRST-VERSION and SECOND-VERSION." | |||
| 548 | (append (vc-switches nil 'diff) '("/dev/null"))) | 548 | (append (vc-switches nil 'diff) '("/dev/null"))) |
| 549 | ;; Even if it's empty, it's locally modified. | 549 | ;; Even if it's empty, it's locally modified. |
| 550 | 1) | 550 | 1) |
| 551 | (let* ((async (and (vc-stay-local-p file) (fboundp 'start-process))) | 551 | (let* ((async (and (not vc-disable-async-diff) |
| 552 | (vc-stay-local-p file) | ||
| 553 | (fboundp 'start-process))) | ||
| 552 | (status (apply 'vc-cvs-command (or buffer "*vc-diff*") | 554 | (status (apply 'vc-cvs-command (or buffer "*vc-diff*") |
| 553 | (if async 'async 1) | 555 | (if async 'async 1) |
| 554 | file "diff" | 556 | file "diff" |