summaryrefslogtreecommitdiff
path: root/helm-utils.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-03-29 09:12:11 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-03-29 09:12:11 +0200
commitf5dd6bfbb528a8282de8daa1d81989fa87733bc6 (patch)
treea8c024ebfce229681a3eaf1f2e42e7dfd88e35d0 /helm-utils.el
parentb752d11fe497ed5dbed80b2b8a5b263b794c6143 (diff)
Split helm-pattern with helm-mm-split-pattern in many places.
* helm-buffers.el (helm-buffers--match-from-mjm): Do it. (helm-buffers--match-from-pat): Do it. (helm-buffers--match-from-inside): Do it. (helm-buffers--match-from-directory): Do it. * helm-grep.el (helm-grep--prepare-cmd-line): Do it. (helm-grep-ag-prepare-cmd-line): Do it. * helm-id-utils.el (helm-gid-candidates-process): Do it. * helm-locate.el (helm-locate-init): Do it. * helm-utils.el (helm-generic-sort-fn): Do it. * helm.el (helm-fuzzy-default-highlight-match): Do it. (helm-search-match-part): Do it.
Diffstat (limited to 'helm-utils.el')
-rw-r--r--helm-utils.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-utils.el b/helm-utils.el
index 6a2b8bd9..1a8360a5 100644
--- a/helm-utils.el
+++ b/helm-utils.el
@@ -404,7 +404,7 @@ that is sorting is done against real value of candidate."
(reg1 (concat "\\_<" qpattern "\\_>"))
(reg2 (concat "\\_<" qpattern))
(reg3 helm-pattern)
- (split (split-string helm-pattern))
+ (split (helm-mm-split-pattern helm-pattern))
(str1 (if (consp s1) (cdr s1) s1))
(str2 (if (consp s2) (cdr s2) s2))
(score (lambda (str r1 r2 r3 lst)