]> code.delx.au - gnu-emacs-elpa/blobdiff - diff-hl-flydiff.el
diff-hl-flydiff-update: Check whether diff-hl-mode is enabled
[gnu-emacs-elpa] / diff-hl-flydiff.el
index 30a354390f8763236839cd1e8869352cd1492ee8..94dbbd7f6d9e89f68536d9a37ccd86884d18e3b3 100644 (file)
@@ -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)))