diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-03-29 09:12:11 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-03-29 09:12:11 +0200 |
commit | f5dd6bfbb528a8282de8daa1d81989fa87733bc6 (patch) | |
tree | a8c024ebfce229681a3eaf1f2e42e7dfd88e35d0 /helm-grep.el | |
parent | b752d11fe497ed5dbed80b2b8a5b263b794c6143 (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-grep.el')
-rw-r--r-- | helm-grep.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-grep.el b/helm-grep.el index b5699100..ed741706 100644 --- a/helm-grep.el +++ b/helm-grep.el @@ -455,7 +455,7 @@ It is intended to use as a let-bound variable, DON'T set this globaly.") "i"))) (helm-grep-default-command (concat helm-grep-default-command " %m")) ; `%m' like multi. - (patterns (split-string helm-pattern)) + (patterns (helm-mm-split-pattern helm-pattern)) (pipe-switches (mapconcat 'identity helm-grep-pipe-cmd-switches " ")) (pipes (helm-aif (cdr patterns) @@ -1373,7 +1373,7 @@ Ripgrep (rg) types are also supported if this backend is used." "Prepare AG command line to search PATTERN in DIRECTORY. When TYPE is specified it is one of what returns `helm-grep-ag-get-types' if available with current AG version." - (let* ((patterns (split-string pattern)) + (let* ((patterns (helm-mm-split-pattern pattern)) (pipe-switches (mapconcat 'identity helm-grep-ag-pipe-cmd-switches " ")) (pipe-cmd (pcase (helm-grep--ag-command) ((and com (or "ag" "pt")) |