diff options
| author | João Távora <joaotavora@gmail.com> | 2019-11-02 11:09:55 +0000 |
|---|---|---|
| committer | João Távora <joaotavora@gmail.com> | 2019-11-02 11:10:04 +0000 |
| commit | 6911ef3da69333cb7adc1a7fb0a0fc001220a0c4 (patch) | |
| tree | c49166f1ec750d44e5b3a019d7a49ea98c5c4e8b /lisp/icomplete.el | |
| parent | 996e08b05f6f29d2e80db1c3f23a749fe70eb6ae (diff) | |
| download | emacs-6911ef3da69333cb7adc1a7fb0a0fc001220a0c4.tar.gz | |
Correct merge blunder in last icomplete commit
* lisp/icomplete.el (icomplete-exhibit): Use
while-no-input-ignore-events.
Diffstat (limited to 'lisp/icomplete.el')
| -rw-r--r-- | lisp/icomplete.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 8357fd900f0..e1d6236943c 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -443,11 +443,7 @@ See `icomplete-mode' and `minibuffer-setup-hook'." ;; Don't delay if the completions are known. completion-all-sorted-completions ;; Don't delay if alternatives number is small enough: - ;; Not sure why, but such requests seem to come - ;; every once in a while. It's not fully - ;; deterministic but `C-x C-f M-DEL M-DEL ...' - ;; seems to trigger it fairly often! - (while-no-input-ignore-events '(selection-request)) (and (sequencep (icomplete--completion-table)) + (and (sequencep (icomplete--completion-table)) (< (length (icomplete--completion-table)) icomplete-delay-completions-threshold)) ;; Delay - give some grace time for next keystroke, before |
