Clean up emacs init file for modes.