Fix edit so that it will wait for emacs to start automatically.