branch: master commit 13be8abc868224c8b15322dbe430f8840f12a57f Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy--reset-state): Fix ivy-resume `ivy-text' is reset to "", but `ivy-resume' passes in `initial-input'. --- ivy.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivy.el b/ivy.el index c4633ca..2b96cbd 100644 --- a/ivy.el +++ b/ivy.el @@ -2170,7 +2170,7 @@ This is useful for recursive `ivy-read'." counsel-switch-buffer))) predicate))) (dynamic-collection - (setq coll (funcall collection ivy-text))) + (setq coll (funcall collection (or initial-input "")))) ((consp (car-safe collection)) (setq collection (cl-remove-if-not predicate collection)) (when (and sort (setq sort-fn (ivy--sort-function caller)))