[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/diff-hl d380a26466 1/2: Check if the file is remote bef
From: |
ELPA Syncer |
Subject: |
[elpa] externals/diff-hl d380a26466 1/2: Check if the file is remote before calling `file-exists-p` |
Date: |
Fri, 7 Oct 2022 17:57:38 -0400 (EDT) |
branch: externals/diff-hl
commit d380a2646660ba7698bddf5d20900ae824c31d89
Author: Matt Beshara <m@mfa.pw>
Commit: Matt Beshara <m@mfa.pw>
Check if the file is remote before calling `file-exists-p`
---
diff-hl-flydiff.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/diff-hl-flydiff.el b/diff-hl-flydiff.el
index 1410b2c7d1..bb3d47748b 100644
--- a/diff-hl-flydiff.el
+++ b/diff-hl-flydiff.el
@@ -49,8 +49,8 @@
(not diff-hl-mode)
(eq diff-hl-flydiff-modified-tick (buffer-chars-modified-tick))
(not buffer-file-name)
- (not (file-exists-p buffer-file-name))
- (file-remote-p default-directory))
+ (file-remote-p default-directory)
+ (not (file-exists-p buffer-file-name)))
(diff-hl-update)))
(defun diff-hl-flydiff/modified-p (_state)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/diff-hl d380a26466 1/2: Check if the file is remote before calling `file-exists-p`,
ELPA Syncer <=