Fix bug #24: Add support for emacs using the EDITOR env variable