Minor tweaks to emacs mode.