On Sat, Mar 25, 2023, 14:13 Eli Zaretskii <eliz@gnu.org> wrote:
> From: João Távora <joaotavora@gmail.com>
> Date: Sat, 25 Mar 2023 13:56:40 +0000
> Cc: "Philip K." <philipk@posteo.net>, 62417@debbugs.gnu.org
>
> But you're confused: this is not about buffer-match-p's arguments. It's about the arguments to the function
> that you may also pass to buffer-match-p in it's first CONDITION argument. Use my simple recipe in both
> Emacs 28 and 29.

The function should be called with the same BUFFER-OR-NAME argument
with which buffer-match-p was called.

Perhaps, that's a possibility among others. But that's not what happens today. It always converts it to a buffer.

João