When loading things like themes from custom directories, is it possible to specify a path relative to the init.el file, rather than an absolute path?
I ask because I want to be able to use the same config file across my OSX and Windows machines, where an absolute path like ~/.emacs.d/themes means something different on each machine (I'm not even sure how Windows handles ~)
~/
the same way: as your home directory, the value of environment variableHOME
. – Drew Dec 19 '15 at 22:02cd ~/
in cmd but the path could not be found, despite having the HOME variable correctly set... – Simon Dec 19 '15 at 22:45cd
is enough for going to your home directory. Also, you're better use powershell, cmd is definitely out-dated. – Nsukami _ Dec 19 '15 at 23:07emacs -Q
? Did you define environment variableHOME
? Did you doM-x cd RET ~/ RET
? Works for me. – Drew Dec 19 '15 at 23:16