Subject: bug#58950: [PATCH] * lisp/subr.el (buffer-match-p): Optimise performance

From: Dmitry Gutov <[email-masked]>
Date: Thu, 5 Jan 2023 02:02:06 +0200

On 31/12/2022 15:56, Philip Kaludercic wrote:
> I'd like to backport the
> changes from bug#58951 and apply them since they are fixing an actual bug.

Speaking of backporting, though, could you address Eli's last message in 
bug#58951? Also, he seems to have reverted the change in the code, but 
not in the docstring.

Could you also clarify this for me: which of the semantics for 'not' is 
going to make 'buffer-match-p' a compatible replacement for 
project--buffer-check?

I assume we do want to drop the custom interpreter inside project.el 
someday.