Emacs: Where is Init File

By Xah Lee. Date: .

Where is Init File

Emacs Init File Location On Linux and Mac

By default, there is no init file. You have to create the file yourself, and add emacs lisp code to it.

On linux and Mac, by default, emacs look for init file at the following filepath, in order:

Emacs Init File Location on Microsoft Windows

Variable of Emacs Init File Location

Start emacs, type Alt+x describe-variable, then type user-emacs-directory

it'll show the init file path emacs is looking for.

Emacs, start, exit, and init files