How to reload .emacs without reopening emacs

Problem

How to reload .emacs without reopening emacs

Solution

Select the region you edited and do

M-x eval-region RET

This avoids the entire .emacs file to be executed twice which might break things.

Reference

[1] http://stackoverflow.com/questions/2580650/how-can-i-reload-emacs-after-changing-it

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s