a few minor bug fixes to emacs-init