emacs: emacs24 update and cleanup