summaryrefslogtreecommitdiff
path: root/helm-locate.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-01-05 11:56:17 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-01-05 11:59:49 +0100
commit1db40f49bae4a3d82abd47331802dad5768bd679 (patch)
tree099e15041781ad81c916b217e1c2b7933d19251c /helm-locate.el
parent9a75f094f0e647d6b5ebbc0dbeec8c25ad4da166 (diff)
Don't redisplay in outer limit hook as well when in multimatch.
* helm-locate.el (helm-locate): Do it.
Diffstat (limited to 'helm-locate.el')
-rw-r--r--helm-locate.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/helm-locate.el b/helm-locate.el
index f05bca0b..35052ab8 100644
--- a/helm-locate.el
+++ b/helm-locate.el
@@ -413,7 +413,9 @@ Where db_path is a filename matched by
(interactive "P")
(helm-set-local-variable 'helm-async-outer-limit-hook
(list (lambda ()
- (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)))))
(setq helm-ff-default-directory default-directory)