non graphical emacs fix