fixed not-GUI emacs