Make settings work with emacs 23