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 that is listed.
LANG
.
before-init-hook
.
inhibit-default-init
is non-nil
. (This is not done in `-batch' mode or if
`-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
.
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 section Window Systems.
inhibit-startup-message
is nil
, and the
buffer is still empty.
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.
(setq inhibit-startup-echo-area-message "your-login-name")
Emacs explicitly checks for an expression as shown above in your
`.emacs' file; your login name must appear in the expression as a
Lisp string constant. Other methods of setting
inhibit-startup-echo-area-message
to 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 `.emacs' file will not inhibit the message for someone else.
Go to the first, previous, next, last section, table of contents.