Remove emacs dependencies