emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ea99f8c: Fix minor bug introduced in 'Terminate vc-


From: Eric S. Raymond
Subject: [Emacs-diffs] master ea99f8c: Fix minor bug introduced in 'Terminate vc-disable-async-diff'
Date: Tue, 02 Dec 2014 03:56:09 +0000

branch: master
commit ea99f8c1ab8e97a54116e50157dd4bd6f1247b91
Author: Eric S. Raymond <address@hidden>
Commit: Eric S. Raymond <address@hidden>

    Fix minor bug introduced in 'Terminate vc-disable-async-diff'
---
 lisp/vc/vc.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index 40e4211..9e6b049 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]