Make emacs config more terminal-friendly