Files
emacs/etc
Stefan Monnier e6556db420 (derived-mode-p): Take MODES as a single argument
Looking at uses of `derived-mode-p` and `provide-mode-derived-p`,
I can't find a single use case where it wouldn't be preferable for
it to take a single argument instead of `&rest`: all the calls are
either passing a single argument anyway, or passing a fixed list of modes.
The use of `&rest` just makes the code less efficient and sometimes
more clunky (because of the need for `apply`).
So let's change that (while preserving backward compatibility, of course).

* doc/lispref/modes.texi (Derived Modes): Adjust accordingly.

* lisp/subr.el (provided-mode-derived-p, derived-mode-p): Take the
`modes` as a single argument.
2023-11-23 11:59:38 -05:00
..
2023-11-11 05:31:52 -05:00
2023-10-19 04:53:08 -04:00
2023-09-16 07:36:49 -04:00
2023-10-18 20:51:22 +02:00
2023-04-25 11:50:59 +03:00
2023-07-31 17:48:36 +02:00
2023-09-17 16:49:21 +02:00
2023-09-17 16:49:21 +02:00
2023-09-17 16:49:21 +02:00
2023-09-17 16:49:21 +02:00
2023-09-17 16:49:21 +02:00
2023-09-17 16:49:21 +02:00
2023-09-30 13:54:42 -04:00
2023-03-18 21:41:22 -04:00
2023-10-28 05:06:21 -04:00
2023-11-20 14:45:30 +02:00

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2023 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)