[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19032: 24.4; icomplete cannot select matches with C-x b with no inpu
From: |
Lars Ingebrigtsen |
Subject: |
bug#19032: 24.4; icomplete cannot select matches with C-x b with no input |
Date: |
Fri, 14 Aug 2020 13:03:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> 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