emacs hack for osx