Subject: bug#41879: 28.0.50; [Patch]: Add project-switch-to-buffer in project.el

From: Andrii Kolomoiets <[email-masked]>
Date: Thu, 18 Jun 2020 14:47:50 +0300

Dmitry Gutov <[email-masked]> writes:

> On 18.06.2020 14:30, Andrii Kolomoiets wrote:
>> Isn't it enough to check `(not (eq (cdr buffer) (current-buffer)))` in
>> the predicate function?
>
> It should also filter out the buffers where the names start with
> whitespace. Unless there are no other completions.

No, it shouldn't.  read-buffer already shows normal buffers as
completions on TAB and shows hidden buffers as completions after SPC
is entered.  See internal-complete-buffer.