]> git.eshelyaron.com Git - emacs.git/commit
Avoid `user-init-file' being set to an eln file (bug#59334)
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 18 Nov 2022 12:57:00 +0000 (13:57 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 18 Nov 2022 12:57:33 +0000 (13:57 +0100)
commitc116d9f74c8fc81a7e98b1519fa300998a8a15c3
treed257403481542514e85fc4a55c6a2f33295bf64b
parentf7ee6609ae3b9cbafd48c89bad160b4e17f5b386
Avoid `user-init-file' being set to an eln file (bug#59334)

* lisp/startup.el (startup--load-user-init-file): If possible,
point `user-init-file' to the source file if the init file was
native-compiled.
lisp/startup.el