Hmm. make-frame-may-show-it doesn't really capture the nature of make-frame's hidden buffer name check, though. How about make-frame-show-hidden-buffer?

On Tue, Jan 28, 2025 at 4:28 AM martin rudalics <rudalics@gmx.at> wrote:
> That works for me applied to a recent master. Happy to use the buffer
> local.

We'd need a shorter name, maybe something like 'make-frame-may-show-it'.

> It's unlikely to cause trouble if a user doesn't kill it, and we'll
> understand why if they don't.

Users who setq it locally or setq-default it know what they want.  Users
who prefer let-binding it won't even notice that it's an automatically
buffer-local variable.

martin