emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/helm a7d876def8 1/3: Replace split-string with split-strin


From: ELPA Syncer
Subject: [nongnu] elpa/helm a7d876def8 1/3: Replace split-string with split-string-shell-command in helm-fd.el
Date: Sun, 5 Mar 2023 00:59:45 -0500 (EST)

branch: elpa/helm
commit a7d876def8fbc29ee3945bc248ca740cdcd50715
Author: Federico Raiti <federico.raiti42@gmail.com>
Commit: Federico Raiti <federico.raiti42@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

[Prev in Thread] Current Thread [Next in Thread]