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

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

[elpa] master b674856 07/10: diff-hl-flydiff-update: Check whether diff-


From: Dmitry Gutov
Subject: [elpa] master b674856 07/10: diff-hl-flydiff-update: Check whether diff-hl-mode is enabled
Date: Sun, 10 Jan 2016 15:47:44 +0000

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

    diff-hl-flydiff-update: Check whether diff-hl-mode is enabled
    
    Closes #60
---
 diff-hl-flydiff.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/diff-hl-flydiff.el b/diff-hl-flydiff.el
index 30a3543..94dbbd7 100644
--- a/diff-hl-flydiff.el
+++ b/diff-hl-flydiff.el
@@ -138,6 +138,7 @@ This requires the external program `diff' to be in your 
`exec-path'."
 
 (defun diff-hl-flydiff-update ()
   (unless (or
+           (not diff-hl-mode)
            (= diff-hl-flydiff-modified-tick (buffer-modified-tick))
            (file-remote-p default-directory))
     (diff-hl-update)))



reply via email to

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