[Top][All Lists]

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

Re: native compilation sets user-init-file to .eln file

From: Eli Zaretskii
Subject: Re: native compilation sets user-init-file to .eln file
Date: Thu, 17 Nov 2022 08:57:32 +0200

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Thu, 17 Nov 2022 04:46:49 +0100
> # byte-compile your init.el, then
> emacs     # init.el is compiled to native code, and user-init-file => init.el
> C-x C-c
> emacs     # user-init-file => points to init-*-*.eln
> Which I imagine is unintended, as there are other places in the code (for 
> example, custom) that expect
> user-init-file to point to an .el.
> Note: The above recipe is entirely reproducible in my system, as long as 
> running Emacs native-compiles
> init.el. I add this caveat because I suppose there's some size/complexity 
> threshold to trigger the native
> compilation (a one-line init.el[c] is not native-compiled, for example).

Thanks, but please always report issues with how Emacs behaves as
bugs.  That helps us to track these problems.

reply via email to

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