emacs: fixed killing of types.