Building a config to be used with emacs 24