As far as I understand, the following sequence of commands
M-x load-file ENTER
~/.emacs
ENTER
would re-load my .emacs
file. However, from what I have read on other forums, they are not guaranteed to give me a totally revised configuration, i.e. they would force Emacs to parse the new configuration file and reload modified variable and function definitions, but they would not remove previously loaded definitions.
With this, my questions are:
- Is it possible to clear ups Emacs's definitions in memory and re-load
.emacs
without having to fully restart Emacs? - If the above is not possible, is there a way to restart Emacs (so that I parses my
.emacs
file from scratch) asking it to re-open all buffers that I have open?