add support for emacs 24