branch: elpa/helm
commit a7d876def8fbc29ee3945bc248ca740cdcd50715
Author: Federico Raiti <federico.rait...@gmail.com>
Commit: Federico Raiti <federico.rait...@gmail.com>

    Replace split-string with split-string-shell-command in helm-fd.el
    
    This makes it possible to search for patterns containing spaces by
    enclosing them in (double) quotes.
---
 helm-fd.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-fd.el b/helm-fd.el
index f7b6c2d1b2..54aa4b0bae 100644
--- a/helm-fd.el
+++ b/helm-fd.el
@@ -83,7 +83,7 @@
 (defun helm-fd-process ()
   "Initialize fd process in an helm async source."
   (let* (process-connection-type
-         (cmd (append helm-fd-switches (split-string helm-pattern " ")))
+         (cmd (append helm-fd-switches (split-string-shell-command 
helm-pattern)))
          (proc (apply #'start-process "fd" nil helm-fd-executable cmd))
          (start-time (float-time))
          (fd-version (replace-regexp-in-string

Reply via email to