Changed emacs commands to be osx specific.