modify for adding Emacs24