branch: elpa/helm
commit d6f7b2350e896a0c36ffea38e66624c2c8fb3628
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>

    Use :candidate-transformer and :match-on-real in file name history
---
 helm-files.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index bff351c44cc..9ad981f0af8 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -6843,7 +6843,7 @@ be existing directories."
     (define-key map (kbd "C-x C-f") 'helm-ff-file-name-history-run-ff)
     map))
 
-(defun helm-file-name-history-transformer (candidates _source)
+(defun helm-file-name-history-transformer (candidates)
   (cl-loop with lgst = helm-file-name-history-max-length
            for elm in candidates
            for c = (truncate-string-to-width
@@ -6892,9 +6892,10 @@ be existing directories."
                :candidates (lambda () recentf-list)
                :help-message 'helm-file-name-history-help-message
                :fuzzy-match t
+               :match-on-real t
                :persistent-action 'ignore
                :migemo t
-               :filtered-candidate-transformer 
'helm-file-name-history-transformer
+               :candidate-transformer 'helm-file-name-history-transformer
                :action (helm-make-actions
                         "Find file" (lambda (candidate)
                                       (helm-set-pattern

Reply via email to