emacs: remove dead code