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

From: Michael Albinus <[email-masked]>
Date: Thu, 31 Jul 2025 07:23:51 +0200

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

Hi,

> Aha.  One idea would be for tramp-compat to including something like:
>
>     ;; Remove when Emacs >=31 is required
>     (require 'loaddefs-gen)
>     (cl-symbol-macrolet
>         ((amac (alist-get 'autoload-macro macro-declarations-alist)))
>       (unless amac (setq amac #'ignore)))   
>
> to silence the warning, yet remain harmless once Emacs 31 is in the
> wild.

Feel free to add this to Tramp in master. I'm busy these days; will
check over the weekend.

Best regards, Michael.