Set EDITOR and SVN_EDITOR to emacs if emacs exists