Support to emacs version 24.