This .emacs should now work with emacs24.4.