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
.cd ~/
in cmd but the path could not be found, despite having the HOME variable correctly set...cd
is enough for going to your home directory. Also, you're better use powershell, cmd is definitely out-dated.emacs -Q
? Did you define environment variableHOME
? Did you doM-x cd RET ~/ RET
? Works for me.