Wednesday, December 19, 2007

rereading .emacs file without having to restart emacs

http://osdir.com/ml/emacs.help/2002-03/msg00012.html?undefined

 Is there a way to get emacs to reread the .emacs without restarting it?

You can do M-x load-file RET ~/.emacs RET, but note that this might
not do what you need:

(setq foo (+ foo 1))

If this statement occurs in the file, then foo will grow every time
you read ~/.emacs.

0 Comments:

Post a Comment

<< Home