updates emacs config so it doesnt crash