Emacs 24.4 support.
Merge pull request #1 from nanasess/emacs-24-rel

Emacs 24.4 support.