]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix minor bug introduced in 'Terminate vc-disable-async-diff'
authorEric S. Raymond <esr@thyrsus.com>
Tue, 2 Dec 2014 03:56:01 +0000 (22:56 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 2 Dec 2014 03:56:01 +0000 (22:56 -0500)
lisp/vc/vc.el

index 40e4211c6e41b8a0297d8110e31a093533375c06..9e6b049e084ea21a98bbb46dfb504ea4eae735b3 100644 (file)
@@ -1714,7 +1714,7 @@ Return t if the buffer had changes, nil otherwise."
               ;; We regard this as "changed".
               ;; Diff it against /dev/null.
               (apply 'vc-do-command buffer
-                     (async 'async 1) "diff" file
+                     (if async 'async 1) "diff" file
                      (append (vc-switches nil 'diff) '("/dev/null"))))))
         (setq files (nreverse filtered))))
     (vc-call-backend (car vc-fileset) 'diff files async rev1 rev2 buffer)