> From: pigreco erre <[email protected]>
> Date: Wed, 25 Nov 2015 16:16:52 +0100
> 
> I try to install my super editor :-) into USB and I use the 24.5 version.
> To complete the procedure I customize its behaviour. I write the following 
> code
> :
> 
> "(defvar usb-drive-letter (substring data-directory 0 3)) 
> (defvar usb-home-dir (concat usb-drive-letter "home/"))
> (setenv "HOME" usb-home-dir)"
   ^^^^^^^^^^^^^^^^^^^^^^^^^^
That's your problem, right there: you should set HOME in the
environment _outside_ Emacs, not as part of the init file.  Then Emacs
will use that directory from the start, instead of going to
AppData/Roaming.

Reply via email to