help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is .emacs in Linux?


From: Eli Zaretskii
Subject: Re: Where is .emacs in Linux?
Date: Sat, 09 May 2009 10:15:26 +0300

> From: Jean Magnan de Bornier <jean@bornier.net>
> Date: Fri, 08 May 2009 20:49:22 +0200
> 
> Eli Zaretskii <eliz@gnu.org> wrote :
> 
> | And don't forget to save it (C-x C-s) after editing, and then restart
> | Emacs for the new/changed settings to take effect.
> 
> Restart emacs?
> 
> Why not just let emacs evaluate the file?

Evaluating .emacs will work for simple customizations of options not
related to display, but will not work in general.  That's because
Emacs loads .emacs early in its startup sequence, and then continues
the startup sequence using the customizations found on .emacs.  In
addition, .emacs can define several hook functions used by Emacs as
part of its startup.  You cannot reproduce the exact effect of all
this by simply evaluating the file after the startup sequence is
finished.

So, in general, it's safer to restart.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]