branch: master commit e224847a0b03a02d61071e4b8ab7d45fed687dd2 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy--reset-state): Fix prompt / require-match issue When `ivy--prompt' is nil, the :require-match does nothing. Fixes #431 --- ivy.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivy.el b/ivy.el index fcac7d6..b5a8d08 100644 --- a/ivy.el +++ b/ivy.el @@ -1486,7 +1486,7 @@ This is useful for recursive `ivy-read'." (ivy--directory prompt) (t - nil))) + prompt))) (setf (ivy-state-initial-input ivy-last) initial-input))) ;;;###autoload