Use environment variable EMACS, if defined