emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master bf27c41 15/42: vc-disable-async-diff: Don't bind when it's


From: Dmitry Gutov
Subject: [elpa] master bf27c41 15/42: vc-disable-async-diff: Don't bind when it's undefined
Date: Wed, 09 Sep 2015 19:03:33 +0000

branch: master
commit bf27c418695214a77cc369b8069f8b9c27d0eb1f
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    vc-disable-async-diff: Don't bind when it's undefined
    
    Fixes #47
---
 diff-hl.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/diff-hl.el b/diff-hl.el
index 5b6510d..8f2221a 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -213,7 +213,8 @@
          (vc-hg-diff-switches nil)
          (vc-svn-diff-switches nil)
          (vc-diff-switches '("-U0"))
-         (vc-disable-async-diff t))
+         ,@(when (boundp 'vc-disable-async-diff)
+             '((vc-disable-async-diff t))))
      ,body))
 
 (defun diff-hl-changes ()



reply via email to

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