Commit ea99f8c1 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

Fix minor bug introduced in 'Terminate vc-disable-async-diff'

parent 7d211056
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment