Subject: Re: bug#15862: aliases to macros at compile time

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 26 Jan 2022 18:19:07 +0100

Glenn Morris <[email-masked]> writes:

> The invalid function issue remains.
>
> As in the original report:
> Compile the file, load the compiled version, *then evaluate: (foo-fails)*.

I can confirm that this issue is still present in Emacs 29.

To reproduce, save the file, byte-compile it and say

M-: (foo-fails)

Debugger entered--Lisp error: (invalid-function old-mac)
  old-mac()
  foo-fails()
  eval-expression((foo-fails) nil nil 127)
  funcall-interactively(eval-expression (foo-fails) nil nil 127)
  command-execute(eval-expression)

Perhaps Stefan M has some comments; added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no