Furthermore: What would be the current Emacs variable to tweak for using an
IF windows
use this path
ELSEIF Cygwin
use another path
ELSE ;; linux
use yet another path
construct?
I tend to do it like this:
(cond
((file-directory-p "/sw/bin/")
... use /sw/bin ...)
((file-directory-p "D:/homes/")
... use d:/homes/ ...)
((file-directory-p "/usr/local/bin/")
... use /usr/local/bin ...)
(t ... use the default ...))
Especially since I have access to different GNU/Linux systems which use
different paths, so checking the OS doesn't cut it.