diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-06-03 07:50:06 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-06-03 07:50:06 +0200 |
commit | aafc88250ba48ee1657c076c65aefa79ff188c95 (patch) | |
tree | 475b92e5774ea3c005e8c720a69f17797257abc1 /helm-id-utils.el | |
parent | 367f488c3672d4e4453df7c02c904a68d2487b8c (diff) |
Prevent updating to an empty pattern with default-as-input.
* helm.el (helm-check-new-input): Delay setting of helm--maybe-use-default-as-input
to next update.
* helm-id-utils.el: Reuse one-by-one transformer.
* helm-grep.el: Fix one-by-one-transformer.
Diffstat (limited to 'helm-id-utils.el')
-rw-r--r-- | helm-id-utils.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/helm-id-utils.el b/helm-id-utils.el index da0fb7a3..a01fdd66 100644 --- a/helm-id-utils.el +++ b/helm-id-utils.el @@ -62,9 +62,7 @@ (force-mode-line-update)) (helm-log "Error: Gid %s" (replace-regexp-in-string "\n" "" event))))))))) - (filtered-candidate-transformer :initform (lambda (candidates _source) - (cl-loop for c in candidates - collect (helm-grep--filter-candidate-1 c)))) + (filter-one-by-one :initform 'helm-grep-filter-one-by-one) (candidate-number-limit :initform 99999) (action :initform (helm-make-actions "Find File" 'helm-grep-action |