Emacs: changes for OSX