views:

384

answers:

4

How do I load the edited .emacs file without restarting Emacs?

+11  A: 

M-x eval-buffer

Martin Cote
::Cries, deletes own post, and upvotes::
dmckee
+1  A: 

Open the .emacs file, select its contents and hit C-x,C-e

Mark Roddy
+4  A: 

M-x load-file and then choose the .emacs file should also work

Mario
+4  A: 

I usually use M-x load-file. But be aware that some initialization is only done the first time through. Things like libraries that set their defaults when loaded, but don't get reloaded the second time through. Its always a good idea to start up emacs from scratch as a final check that everything works ok.

KeithB