Next: Audible Bell, Previous: Syntax, Up: Customization [Contents][Index]
When you start SXEmacs, it normally loads init.el
in your user-init-directory
(see Init File in SXEmacs
Lisp Reference Manual). This file, if it exists, should contain
Lisp code. It is called your initialization file or init file.
Use the command line switch ‘-q’ to tell SXEmacs whether to load
an init file (see Entering Emacs). Use the command line switch
‘-user-init-file’ (see Command Switches) to tell Emacs to
load a different file instead.
When the init file is read, the variable user-init-file
says
which init file was loaded.
At some sites there is a default init file, which is the
library named default.el, found via the standard search path for
libraries. The Emacs distribution contains no such library; your site
may create one for local customizations. If this library exists, it is
loaded whenever you start Emacs. But your init file, if any, is loaded
first; if it sets inhibit-default-init
non-nil
, then
default is not loaded.
If you have a large amount of code in your init file, you should byte-compile it to init.elc.
• Init Syntax: | Syntax of constants in Emacs Lisp. | |
• Init Examples: | How to do some things with an init file. | |
• Terminal Init: | Each terminal type can have an init file. |