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

From: Philipp Stephani <[email-masked]>
Date: Fri, 19 Feb 2021 17:46:16 +0100

Am Fr., 19. Feb. 2021 um 15:03 Uhr schrieb Andreas Schwab
<[email-masked]>:
>
> On Feb 19 2021, Pip Cet wrote:
>
> > Recipe starting from emacs -Q:
> >
> > M-: (funcall #'or) RET
>
> If you want authentic results, use ielm, not eval-expression.
>

Ah, so the rewrite that macroexpand-all (in macroexp--expand-all)
performs is the culprit here. Maybe it should only rewrite if the
first argument is indeed a function, or an autoload of a function?