branch: master
commit c9f86b51a0bc36f8b347405138248831def68505
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy--reset-state): Remove empty string from coll
Fixes #1230
---
ivy.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/ivy.el b/ivy.el
index 19415fc..e232997 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1794,6 +1794,7 @@ This is useful for recursive `ivy-read'."
(setq coll (all-completions "" collection predicate)))
(t
(setq coll collection)))
+ (setq coll (delete "" coll))
(when def
(cond ((listp def)
(setq coll (cl-union def coll :test 'equal)))