Use emacs itself as the editor if the shell was ran by it