Fix emacs config in no-x mode