Refactor emacs config files.