Subject: bug#40968: 28.0.50; (apply nil)

From: Mattias Engdegård <[email-masked]>
Date: Wed, 6 May 2020 20:42:34 +0200

That patch is fine but perhaps incomplete, if we want (apply nil) to result in the same error when interpreted and byte-compiled.
Suggested test case attached.

The manual change is fine. Perhaps we should adopt a somewhat discouraging tone.
You could also say that (apply X) is defined as (apply (car X) (cdr X)), and X must be a cons.