Init File Init Examples
.emacs' file contains one or more Lisp function call
expressions. Each of these consists of a function name followed by
arguments, all surrounded by parentheses. For example,
(setq fill-column 60) calls the function
setq to set the variable
fill-column (see Filling) to 60.
The second argument to
setq is an expression for the new value of
the variable. This can be a constant, a variable, or a function call
expression. In `
.emacs', constants are used most of the time. They can be:
Numbers are written in decimal, with an optional initial minus sign.
Lisp string syntax is the same as C string syntax with a few extra features. Use a double-quote character to begin and end a string constant.
In a string, you can include newlines and special characters literally.
But often it is cleaner to use backslash sequences for them: `
Lisp character constant syntax consists of a `
|Other Lisp objects:|
Write a single-quote (') followed by the Lisp object you want.