Subject: bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain

From: Andreas Schwab <[email-masked]>
Date: Sun, 18 Oct 2020 10:52:45 +0200

On Okt 18 2020, Lars Ingebrigtsen wrote:

> Andreas Schwab <[email-masked]> writes:
>
>> ELISP> (macroexpand-all (eval-sexp-add-defvars (elisp--eval-defun-1
>> (macroexpand '(funcall (function mac/z))))))
>> (progn "z")
>
> And
>
> (macroexpand-all (eval-sexp-add-defvars (elisp--eval-defun-1 (macroexpand '(funcall 'mac/z)))))
> => (funcall 'mac/z)                                         
>
> Which is what the bug reporter is wondering about.

And what do you get when you eval that?

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."