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

From: Michael Albinus <[email-masked]>
Date: Sun, 17 Aug 2025 11:50:10 +0200

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

Hi,

> Here's an updated patch to try with TRAMP, to see if it works as
> expected in both old and new Emacs versions.  Note that there are many
> places where TRAMP does something more advanced, like:
>
>   ;;;###tramp-autoload
>   (when (featurep 'dbusbind)
>     (tramp--with-startup
>      (dolist (method tramp-gvfs-methods)
>      ...
>
> so I think you'll need to keep autoloading the macro definition too.

I've checked it with both Emacs 28 and 31, and it still works w/o
problems. So pls push it to master.

Best regards, Michael.