startup.el
isn't used in a standard Emacs binary. Note that Startup Summary doesn't suggest this. It doesn't say that the source library startup.el
is actually loaded during startup. It merely states that a function defined in startup.el
is called at startup.
startup.el
is one of the essential core libraries that are “dumped” into the Emacs binary during compilation, to decrease startup time and increase performance. Hence, the compiled Emacs binary does not load the source library startup.el
, but instead reads its compiled byte code from the data section of the Emacs binary.
Yet, the code in startup.el
is part of an Emacs binary, and evaluated at startup. While you can't check this directly by modifying startup.el
in a precompiled Emacs distribution, you can easily verify this by reading the source code of Emacs, or by building Emacs from source with a patched startup.el
.
This is not specific to Windows. In this regard, Emacs behaves the same on all supported operating systems.
Please note that startup.el
is not intended to be modified by the user. Use ~/.emacs.d/init.el
to configure and customize your Emacs.