Simplify Emacs version check logic.