Subject: Re: bug#19032: 24.4; icomplete cannot select matches with C-x b with no input

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 14 Aug 2020 13:03:14 +0200

Stefan Monnier <[email-masked]> writes:

> Would it be cleaner to have the following instead?
>
>       ;; Allow user to specify null string.  Obey `completion-content-when-empty`.
>       ((= beg end)
>        (when completion-content-when-empty
>          (completion--replace beg end completion-content-when-empty))
>        (funcall exit-function))
>
> So icomplete would be in charge of setting that var to the `car` of
> `completion-all-sorted-completions`.

Yeah, that makes sense.  I'll take a stab at implementing it that way.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no