update emacs configuration for mac