branch: master
commit 2b8e4e1e397152da90da6510af68527b323db3c3
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el: Remove while-no-input
This will speed up the updates. But it might slow down somewhere else.
The issue was that "M-DEL" did not cause an update.
---
ivy.el | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/ivy.el b/ivy.el
index 10ee129..25d8a70 100644
--- a/ivy.el
+++ b/ivy.el
@@ -304,10 +304,9 @@ When non-nil, it should contain one %d.")
Should be run via minibuffer `post-command-hook'."
(setq ivy-text (ivy--input))
(ivy--cleanup)
- (let ((text (while-no-input
- (ivy-completions
- ivy-text
- ivy--all-candidates)))
+ (let ((text (ivy-completions
+ ivy-text
+ ivy--all-candidates))
(buffer-undo-list t)
deactivate-mark)
(when ivy--update-fn