Subject: bug#65797: 29.0.92; func-arity should not return (0 . many) with apply-partially

From: Mattias Engdegård <[email-masked]>
Date: Thu, 7 Sep 2023 14:35:17 +0200

Here is one way, but it's mainly aimed at improving performance, not guaranteeing a particular function signature.

(Yet another reason to avoid using buffer-match-p as far as I'm concerned.)