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

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

[nongnu] elpa/helm a45fd7a335 5/5: Fix index with files of length 1


From: ELPA Syncer
Subject: [nongnu] elpa/helm a45fd7a335 5/5: Fix index with files of length 1
Date: Sun, 13 Nov 2022 13:59:04 -0500 (EST)

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

    Fix index with files of length 1
---
 helm-files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-files.el b/helm-files.el
index b2a5881613..a1761fb67b 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -4166,7 +4166,7 @@ Arg DISP is the display part of the candidate."
 
 (defun helm-ff--is-file-from-disp (disp)
   "Return the face used for file's candidate or dotted-symlink dirs."
-  (cl-loop with faces = (helm-mklist (get-text-property 1 'face disp))
+  (cl-loop with faces = (helm-mklist (get-text-property 0 'face disp))
            for face in '(helm-ff-file
                          helm-ff-suid
                          helm-ff-executable



reply via email to

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