minad / consult

:mag: consult.el - Consulting completing-read
GNU General Public License v3.0
1.32k stars 111 forks source link

Use the base-size returned by completion-all-completions correctly #1165

Closed catern closed 3 weeks ago

catern commented 3 weeks ago

Using completion-boundaries here is incorrect and doesn't work in practice for completion tables with non-trivial boundaries. The correct thing to do is to use the base-size returned as the cdr of the last element of completion-all-completions.

minad commented 3 weeks ago

Indeed. Thanks.