Cleaned up emacs