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

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

[nongnu] elpa/helm 4fa1255970: Revert "Avoid one unnecessary call to fil


From: ELPA Syncer
Subject: [nongnu] elpa/helm 4fa1255970: Revert "Avoid one unnecessary call to file-truename"
Date: Mon, 7 Mar 2022 15:58:22 -0500 (EST)

branch: elpa/helm
commit 4fa1255970d575ec24f07a935a054efd65e6ce57
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Revert "Avoid one unnecessary call to file-truename"
    
    This reverts commit cfdd5376b81206967ab38ea9730ed0b4877a923a.
---
 helm-files.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index 3c0a4c09a4..d868fc8d4b 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -4032,8 +4032,7 @@ If SKIP-BORING-CHECK is non nil don't filter boring 
files."
                  (string-match "\\`@@@@file-error:" file) file)
                 (;; A dead symlink.
                  (and (stringp type)
-                      ;; Check non existence of link.
-                      (not (file-exists-p type))
+                      (not (helm-ff-valid-symlink-p file))
                       (not (string-match "^\\.#" basename)))
                  (add-face-text-property 0 len 'helm-ff-invalid-symlink t disp)
                  (cons disp file))



reply via email to

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