bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67034: 30.0.50; Make `derived-mode-p` take a single arg


From: Daniel Mendler
Subject: bug#67034: 30.0.50; Make `derived-mode-p` take a single arg
Date: Fri, 10 Nov 2023 13:18:32 +0100
User-agent: Mozilla Thunderbird

This change would affect many packages. I grepped through my elpa
directory and found multiple uses of derived-mode-p and
provided-mode-derived-p with multiple arguments as shortcuts:

(derived-mode-p 'mode1 'mode2) instead of (or (derived-mode-p 'mode1)
(derived-mode-p 'mode2)

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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]