Adjustments to emacs