Subject: Re: bug#78995: [PATCH] ;;;autoload-expand for special macros

From: Michael Albinus <[email-masked]>
Date: Sat, 02 Aug 2025 19:20:00 +0200

"J.D. Smith" <[email-masked]> writes:

Hi,

> Hmm, I guess `loaddefs-gen' was introduced in emacs 29.  But I think you
> don't actually need that `require' at all.  Maybe try a simple:
>
>     (unless (alist-get 'autoload-macro macro-declarations-alist)
>       (push '(autoload-macro ignore) macro-declarations-alist))

That works with Emacs 28, if I put these lines before the
tramp--with-startup macro declaration.

I cannot test with the master branch, because the autoload-macro patch
doesn't seem to be there yet.

Best regards, Michael.