emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master f8bb6cca33: Return the same file from locate-file in nativeco


From: Stefan Monnier
Subject: Re: master f8bb6cca33: Return the same file from locate-file in nativecomp and non
Date: Sat, 12 Mar 2022 16:47:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>     * lisp/files.el (locate-file): Return the .elc file (if it exists)
>     in nativecomp, too, to mimic the behaviour from non-nativecomp
>     builds (bug#51308).

Huh?  `locate-file` should have nothing to do with the mapping between
.elc and .eln files.  It's used for all kinds of files not just for
files containing ELisp code.

IOW the patch above makes things closer to what they should be, but
we should simply not need that because locate-file-internal should not
magically replace `.elc` files with `.eln` files.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]