Subject: bug#78285: 31.0.50; load-prefer-newer causes recursive load on Windows

From: Eli Zaretskii <[email-masked]>
Date: Wed, 07 May 2025 15:50:06 +0300

> From: Gary Oberbrunner <[email-masked]>
> Date: Wed, 7 May 2025 08:20:36 -0400
> Cc: [email-masked]
> 
> > As can be seen from the above, your configuration loads
> > elpaca-bootstrap.el, whose contents you haven''t shown.  Then Emacs
> > loads loaddefs-gen.elc, which wants to load radix-tree.elc, but
> > instead loads radix-tree.el.gz for some reason.
> 
> Actually I gave a minimal one-line repro case without elpaca. Just create init.el with this:
> 
> >   (setq load-prefer-newer t)
> 
> and then check the *Messages* buffer.

Granted, I already tried that, and it didn't happen for me.

If the traces you show in your original report are not relevant for
the reproduction recipe, please show the same traces for the latter.

Did you make sure that all the *.elc files in the installation tree
are newer that the corresponding *.el.gz files?