Subject: bug#46636: [External] : bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error

From: Pip Cet <[email-masked]>
Date: Mon, 22 Feb 2021 09:16:15 +0000

On Mon, Feb 22, 2021 at 8:25 AM Andreas Schwab <[email-masked]> wrote:
> > I think I agree that funcalling `or' should give an error.
> It does.

Just to clarify: your point is that there are non-standard ways of
executing Emacs Lisp which do not suffer from this bug, right? Or is
it that the bug isn't in Ffuncall (it isn't)?

> The problem is in macroexp--expand-all, called by
> eval-expression, which transforms this into a no-op.

There and in the byte compiler, which does the same thing to (apply
...) forms, too.