Fix a bug on s-e: If emacs has not been launched, an error occurs.