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

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

[nongnu] elpa/helm cbec5974ad: Fix index with icon for directories as we


From: ELPA Syncer
Subject: [nongnu] elpa/helm cbec5974ad: Fix index with icon for directories as well
Date: Sun, 13 Nov 2022 14:58:51 -0500 (EST)

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

    Fix index with icon for directories as well
---
 helm-files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-files.el b/helm-files.el
index a1761fb67b..4b40b17e23 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -4160,7 +4160,7 @@ Arg DISP is the display part of the candidate."
 
 (defun helm-ff--is-dir-from-disp (disp)
   "Return the face used for candidate when candidate is a directory."
-  (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-directory helm-ff-dotted-directory)
            thereis (memq face faces)))
 



reply via email to

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