|
From: | Andrii Kolomoiets |
Subject: | bug#41879: 28.0.50; [Patch]: Add project-switch-to-buffer in project.el |
Date: | Thu, 18 Jun 2020 14:47:50 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
Dmitry Gutov <dgutov@yandex.ru> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |