Next: Init File, Up: Starting Up
The order of operations performed (in startup.el) by Emacs when it is started up is as follows:
load-path, by running the file named
subdirs.el in each directory in the list. Normally this file
adds the directory's subdirectories to the list, and these will be
scanned in their turn. The files subdirs.el are normally
generated automatically by Emacs installation.
LANG.
before-init-hook.
inhibit-default-init is non-nil. (This is not done in
“-batch” mode, or if “-Q” or “-q” was specified on the
command line.) The library's file name is usually default.el.
after-init-hook.
initial-major-mode, provided
the buffer `*scratch*' is still current and still in Fundamental
mode.
inhibit-startup-echo-area-message.
emacs-startup-hook and then term-setup-hook.
frame-notice-user-settings, which modifies the
parameters of the selected frame according to whatever the init files
specify.
window-setup-hook. See Window Systems.
inhibit-startup-message is nil, you didn't
specify “--no-splash” or “-Q”.
This variable inhibits the initial startup messages (the nonwarranty, etc.). If it is non-
nil, then the messages are not printed.This variable exists so you can set it in your personal init file, once you are familiar with the contents of the startup message. Do not set this variable in the init file of a new user, or in a way that affects more than one user, because that would prevent new users from receiving the information they are supposed to see.
This variable controls the display of the startup echo area message. You can suppress the startup echo area message by adding text with this form to your init file:
(setq inhibit-startup-echo-area-message "your-login-name")Emacs explicitly checks for an expression as shown above in your init file; your login name must appear in the expression as a Lisp string constant. Other methods of setting
inhibit-startup-echo-area-messageto the same value do not inhibit the startup message.This way, you can easily inhibit the message for yourself if you wish, but thoughtless copying of your init file will not inhibit the message for someone else.