fixed a bug on checking if it's emacs 24.4 or later