Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the startup sequence for Emacs?

Tags:

emacs

I find .emacs, and ~/.emacs.d/init.el.

What those files/directories are for? What's the startup sequence of emacs? Is there any way that makes emacs not to read ~/.emacs.d?

like image 448
prosseek Avatar asked Jul 28 '10 00:07

prosseek


1 Answers

emacs -q or emacs --no-init-file will cause emacs not to read the ~/.emacs file. It should not try to read the ~/.emacs.d if there is a ~/.emacs file. If there isn't a ~/.emacs file it will read ~/.emacs.d/init.el. See the emacs wiki for more info.

See the elisp manual for info on startup.

like image 197
deinst Avatar answered Sep 23 '22 11:09

deinst