|
From: | Dmitry Gutov |
Subject: | bug#41879: 28.0.50; [Patch]: Add project-switch-to-buffer in project.el |
Date: | Fri, 19 Jun 2020 03:45:44 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 18.06.2020 21:03, Andrii Kolomoiets wrote:
Please take a look at the attached patch. It's based on your patch and resolves this:- Check if other-buffer is passes the predicate function. The buffer from another project must not be the default. - Exclude the current buffer from the buffers list to switch to.Thanks!
Thanks! Pushed.Something to consider: switch-to-buffer still allows you to choose the current buffer. And the new command doesn't.
I'm not sure of the original logic behind this, though.
[Prev in Thread] | Current Thread | [Next in Thread] |