branch: elpa/helm
commit 29df83f4a2a2a08f579b964035b6ced4e21099f4
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Fix highlighting matches on symlinks
---
 helm-files.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/helm-files.el b/helm-files.el
index 52465dce90..3b86687204 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -4077,7 +4077,9 @@ If SKIP-BORING-CHECK is non nil don't filter boring 
files."
                    (add-face-text-property 0 len-abbrev 'helm-ff-truename t 
abbrev)
                    ;; Colorize extension only on truename.
                    (add-face-text-property 0 len 'helm-ff-symlink nil disp)
-                   (cons (propertize disp 'display (concat disp " -> " abbrev))
+                   ;; As we use match-on-real we can use this safely,
+                   ;; abbrev will not be matched.
+                   (cons (concat disp " -> " abbrev)
                          file)))
                 ;; A directory.
                 ((eq t type)

Reply via email to