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

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

[nongnu] elpa/helm a41d4ae4b6 3/3: Fix matching host prop in fuzzy-highl


From: ELPA Syncer
Subject: [nongnu] elpa/helm a41d4ae4b6 3/3: Fix matching host prop in fuzzy-highlight-match when using icons
Date: Wed, 9 Nov 2022 01:58:57 -0500 (EST)

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

    Fix matching host prop in fuzzy-highlight-match when using icons
---
 helm-core.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/helm-core.el b/helm-core.el
index 462778ad63..a5e97f772a 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -4586,7 +4586,8 @@ useful when the order of the candidates is meaningful, 
e.g. with
   (let* ((pair    (and (consp candidate) candidate))
          (display (helm-stringify (if pair (car pair) candidate)))
          (real    (cdr pair))
-         (host    (and file-comp (get-text-property 0 'host display)))
+         (host    (and file-comp (get-text-property
+                                  (max 0 (1- (length display))) 'host 
display)))
          (regex   (helm--maybe-get-migemo-pattern pattern diacritics))
          (mpart   (get-text-property 0 'match-part display))
          (mp      (cond ((and mpart (string= display mpart)) nil)



reply via email to

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