|
From: | Dmitry Gutov |
Subject: | bug#67034: 30.0.50; Make `derived-mode-p` take a single arg |
Date: | Sat, 11 Nov 2023 02:04:29 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 10/11/2023 14:18, Daniel Mendler wrote:
There are also multiple call sites with apply, but these would be arguably nicer if derived-mode-p takes a list argument as proposed. Still, do the benefits of this change outweigh the required changes?
I've also found some call sites with multiple arguments (one of them being sml-mode 6.12) and also uses with (apply #'derived-mode-p some-user-option-list-of-modes). But those are indeed in the minority.
I wonder if this extra allocation of &rest makes any difference in any benchmark, though.
[Prev in Thread] | Current Thread | [Next in Thread] |