diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-02-02 06:27:39 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-02-02 06:27:39 +0100 |
commit | 6245864665a24eb355540d9b5e3d0b90427a250b (patch) | |
tree | 627fd7179864193bb05ebeb4781734f2468793e6 /helm-locate.el | |
parent | d9c19527c09d8a3bf69b961dbf8f3d122a7eace5 (diff) |
Quote filename in locate db regexps (#1962)
* helm-locate.el (helm-locate-create-db-command): Do it.
(helm-locate-with-db): Do it.
Diffstat (limited to 'helm-locate.el')
-rw-r--r-- | helm-locate.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-locate.el b/helm-locate.el index 195f38ed..9d12c0ee 100644 --- a/helm-locate.el +++ b/helm-locate.el @@ -77,7 +77,7 @@ is detected in pattern)." :group 'helm-locate) (defcustom helm-locate-create-db-command - "updatedb -l 0 -o %s -U %s" + "updatedb -l 0 -o '%s' -U '%s'" "Command used to create a locale locate db file." :type 'string :group 'helm-locate) @@ -260,7 +260,7 @@ See also `helm-locate'." (replace-regexp-in-string "locate" (format (if helm-locate-fuzzy-match - "locate -b -d %s" "locate -d %s") + "locate -b -d '%s'" "locate -d '%s'") (mapconcat 'identity ;; Remove eventually ;; marked directories by error. |