From ea99f8c1ab8e97a54116e50157dd4bd6f1247b91 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 1 Dec 2014 22:56:01 -0500 Subject: [PATCH] Fix minor bug introduced in 'Terminate vc-disable-async-diff' --- lisp/vc/vc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 40e4211c6e4..9e6b049e084 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -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) -- 2.39.5