branch: master
commit 190622d3fa2c3237529ec073a8fa00aee06023a1
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Fix #102
---
diff-hl-flydiff.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/diff-hl-flydiff.el b/diff-hl-flydiff.el
index 5b1522c..2c32208 100644
--- a/diff-hl-flydiff.el
+++ b/diff-hl-flydiff.el
@@ -140,7 +140,8 @@ This requires the external program `diff' to be in your
`exec-path'."
(unless (or
(not diff-hl-mode)
(= diff-hl-flydiff-modified-tick (buffer-modified-tick))
- (not (file-exists-p (buffer-file-name)))
+ (not buffer-file-name)
+ (not (file-exists-p buffer-file-name))
(file-remote-p default-directory))
(diff-hl-update)))