diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-01-05 10:22:32 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-01-05 10:26:57 +0100 |
commit | 3c331a34083e7c87e3181521ce3a05421c634bf2 (patch) | |
tree | 962181215d24aef88de64e6f3cc2bf579fcce11f /helm-locate.el | |
parent | 7fb3e3fc5815d5065aae1e93e19e7324979f1626 (diff) |
Allow redisplaying helm-buffer when going out of cand number limit.
* helm.el (helm-async-outer-limit-hook): New hook.
(helm-output-filter--process-source): Run it.
* helm-locate.el (helm-locate): Use it.
Diffstat (limited to 'helm-locate.el')
-rw-r--r-- | helm-locate.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helm-locate.el b/helm-locate.el index 60832aa0..d8d640d7 100644 --- a/helm-locate.el +++ b/helm-locate.el @@ -410,6 +410,11 @@ To create a user specific db, use Where db_path is a filename matched by `helm-locate-db-file-regexp'." (interactive "P") + (helm-set-local-variable 'helm-async-outer-limit-hook + (list (lambda () + (when helm-locate-fuzzy-match + (helm-redisplay-buffer + helm-locate-fuzzy-sort-fn))))) (setq helm-ff-default-directory default-directory) (helm-locate-1 arg nil nil (thing-at-point 'filename))) |