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

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

[elpa] master 190622d 16/25: Fix #102


From: Dmitry Gutov
Subject: [elpa] master 190622d 16/25: Fix #102
Date: Sat, 8 Dec 2018 19:19:39 -0500 (EST)

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

    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)))
 



reply via email to

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