Yep, it looks like it's fixed, thanks.

On Mon, Jan 31, 2022 at 7:44 AM Lars Ingebrigtsen <larsi@gnus.org> wrote:
Allen Li <darkfeline@felesatra.moe> writes:

> When `auto-insert-mode` is enabled, `update-directory-autoloads` causes an
> interactive prompt to appear for inserting an Emacs Lisp header.
>
> This is because `update-directory-autoloads` calls
> `autoload-find-generated-file`, which uses `find-file-noselect`.

I think this was fixed for Emacs 28 -- would it be possible for you to
try building that and see whether the problem is still present there?

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