I want to synchronize my emacs configuration through an identical
init.el but needs some settings defined according to the host.
For instance although
init.el will be the same
custom-file will vary by account and host, but will still have to be in the same version control repo so I want something like this for the
custom-file, this example using shell syntax
(setq custom-file "~/.emacs.d/$USER_$HOST_custom.el") (if (file-exists-p custom-file) (load custom-file) )
What would be the idiomatic elisp for such a construct?