summaryrefslogtreecommitdiff
path: root/helm-locate.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-01-05 11:28:51 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-01-05 11:28:51 +0100
commit9a75f094f0e647d6b5ebbc0dbeec8c25ad4da166 (patch)
tree0ad93d25349113891874080696c92cc786372679 /helm-locate.el
parent3c331a34083e7c87e3181521ce3a05421c634bf2 (diff)
Don't redisplay locate results when using multimatch.
* helm-locate.el (helm-locate-init): Do it.
Diffstat (limited to 'helm-locate.el')
-rw-r--r--helm-locate.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-locate.el b/helm-locate.el
index d8d640d7..f05bca0b 100644
--- a/helm-locate.el
+++ b/helm-locate.el
@@ -301,7 +301,8 @@ See also `helm-locate'."
" command line was:\n\n "
cmd)))))
((string= event "finished\n")
- (when helm-locate-fuzzy-match
+ (when (and helm-locate-fuzzy-match
+ (not (string-match-p "\\s-" helm-pattern)))
(helm-redisplay-buffer helm-locate-fuzzy-sort-fn))
(with-helm-window
(setq mode-line-format