Move deft-mode stuff to init-deft.