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

    Ensure helm-match face is updated when deleting minibuffer contents
    
    Set helm-input for this which is used by
    helm-fuzzy-matching-highlight-fn.  Otherwise search is done on a fuzzy
    pattern which will not match candidates.
---
 helm-core.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/helm-core.el b/helm-core.el
index 0ff66e71fe..06bae3c3b6 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -6768,8 +6768,9 @@ Used generally to modify current selection."
     (helm-reset-yank-point)
     (unless (zerop (length input))
       ;; minibuffer is not empty, delete contents from end
-      ;; of FROM-STR and update.
+      ;; or FROM-STR and update.
       (helm-set-pattern from-str t)
+      (setq helm-input from-str) ; Needed by helm-fuzzy-matching-highlight-fn.
       (helm-update presel src))))
 
 (defun helm-delete-minibuffer-contents (&optional arg)

Reply via email to