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

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

bug#40968: 28.0.50; (apply nil)


From: Pip Cet
Subject: bug#40968: 28.0.50; (apply nil)
Date: Wed, 6 May 2020 11:25:19 +0000

On Wed, May 6, 2020 at 10:18 AM Mattias Engdegård <mattiase@acm.org> wrote:
> > The byte compiler also gets single-argument `apply' "wrong", so the latter 
> > would seem to be the best option, to me.
>
> Strong agreement! An 'apply' that actually does 'eval'...

Well, it's not quite `eval': the arguments aren't evaluated again.

The obvious single-character patch results in four warnings when
rebuilding Emacs, all of which seem to use the previous semantics, so
I think it might be best to document this behavior and simply catch
(apply nil).

Attachment: 0001-Require-at-least-two-arguments-for-Fapply.patch
Description: Text Data


reply via email to

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