summaryrefslogtreecommitdiff
path: root/helm-locate.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-11-02 17:27:11 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-11-02 17:27:11 +0100
commit5ae1ecc1a94778062e150905d2dd42fa94cbcef1 (patch)
tree73a437b73cc52405947b4c014e8546f65489d724 /helm-locate.el
parente4678e1d692073a4ade16f1f1cfeb4232ce463ed (diff)
Quote arguments in helm-locate-recursive-dirs-command (#1635).
* helm-locate.el (helm-locate-recursive-dirs-command): Do it.
Diffstat (limited to 'helm-locate.el')
-rw-r--r--helm-locate.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-locate.el b/helm-locate.el
index 0327cf4a..a0f4c408 100644
--- a/helm-locate.el
+++ b/helm-locate.el
@@ -97,7 +97,7 @@ directories of this list with `helm-projects-find-files'."
:group 'helm-locate
:type '(repeat string))
-(defcustom helm-locate-recursive-dirs-command "locate -i -e -A --regex ^%s %s.*$"
+(defcustom helm-locate-recursive-dirs-command "locate -i -e -A --regex '^%s' '%s.*$'"
"Command used in recursive directories completion in `helm-find-files'.
For Windows and `es' use something like \"es -r ^%s.*%s.*$\"."
:type 'string