]> code.delx.au - gnu-emacs-elpa/blobdiff - diff-hl-flydiff.el
Add diff-hl-dired-ignored-backends
[gnu-emacs-elpa] / diff-hl-flydiff.el
index 138ca203c4eb4bb546c24078ec31f7b2b71b1bfe..94dbbd7f6d9e89f68536d9a37ccd86884d18e3b3 100644 (file)
@@ -1,4 +1,4 @@
-;; Copyright (C) 2015 Free Software Foundation, Inc.
+;; Copyright (C) 2015, 2016 Free Software Foundation, Inc.
 
 ;; Author:   Jonathan Hayase <PythonNut@gmail.com>
 ;; URL:      https://github.com/dgutov/diff-hl
@@ -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)))