branch: elpa/helm
commit 24179bebed033c1c765a7760f8e6dd0f66d3a2d3
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Fix highlighting matches in helm-files-in-current-dir-source
---
helm-for-files.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/helm-for-files.el b/helm-for-files.el
index 80e5fca6a7..b2d58e4de2 100644
--- a/helm-for-files.el
+++ b/helm-for-files.el
@@ -250,8 +250,9 @@ Colorize only symlinks, directories and files."
(migemo :initform t)))
(cl-defmethod helm--setup-source :after ((source
helm-files-in-current-dir-source))
- (setf (slot-value source 'filtered-candidate-transformer)
- '(helm-ff-sort-candidates helm-highlight-files)))
+ (helm-aif (slot-value source 'filtered-candidate-transformer)
+ (setf (slot-value source 'filtered-candidate-transformer)
+ (append '(helm-ff-sort-candidates) (helm-mklist it)))))
(defvar helm-source-files-in-current-dir
(helm-make-source "Files from Current Directory"