diff options
author | João Távora <joaotavora@gmail.com> | 2021-08-19 23:54:51 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2021-08-19 23:56:29 +0100 |
commit | fb81c8c3adf8633f2f617c82f6019aef630860c7 (patch) | |
tree | 8f3129e9c0d52fcd493a0db12eb356332e0e137f /modules | |
parent | a3df92f4839699388b096001b65c43f1a37273a3 (diff) | |
download | emacs-fb81c8c3adf8633f2f617c82f6019aef630860c7.tar.gz |
Make icomplete-forward-completions O(1) when icomplete-scroll is t
In particular, this makes the recently added
icomplete-vertical-goto-last (bug#49005) be O(n) instead of O(n^2).
That used to be almost unbearably slow for large n.
* lisp/icomplete.el (icomplete-forward-completions): don't call last
unless needed.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions