Add emacs major modes to inits, refine deployment