Habibullah’s posterous

« Back to blog

Change the default Home directory in Emacs on Windows

When you first install (rather extract) Emacs on Windows, your home directory, ~/, defaults to:
C:/Documents and Settings/Your Name/Application Data.

You may want to change this to some other convenient location. To do this, start by making a file called "site-start.el" in your emacs/site-lisp folder.

In it put this line:
(setenv "HOME" "whatever/your/desired/home/dir/is")

Move your .emacs customization file from the previous location to this new location and you are set.

Comments (0)

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     Connect     twitter