emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Speed up project-kill-buffers


From: Dmitry Gutov
Subject: Re: [PATCH] Speed up project-kill-buffers
Date: Tue, 4 May 2021 01:46:43 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 04.05.2021 01:45, Stefan Monnier wrote:
Of course, we could also make the check super fast by keeping the
"current project" in a buffer-local var, and then just look for buffers
which have an `eq` value in that var.  That would be both faster than
`file-in-directory-p` and more arguably more correct.

Until the user changes some project setting and the "current project" becomes not current anymore.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]