[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 29df83f4a2 2/2: Fix highlighting matches on symlinks
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 29df83f4a2 2/2: Fix highlighting matches on symlinks |
Date: |
Thu, 20 Oct 2022 07:59:06 -0400 (EDT) |
branch: elpa/helm
commit 29df83f4a2a2a08f579b964035b6ced4e21099f4
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@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)