Better Emacs support on OSX