diff --git a/ivy.el b/ivy.el index 446f57e7..f3fd8453 100644 --- a/ivy.el +++ b/ivy.el @@ -2536,8 +2536,7 @@ INHERIT-INPUT-METHOD is currently ignored." (let ((str (ivy-read prompt collection :predicate predicate - :require-match (when (and collection require-match) - require-match) + :require-match (and collection require-match) :initial-input (cond ((consp initial-input) (car initial-input)) ((and (stringp initial-input)