Fix condition for checking version of Emacs

emacs-version                                               ; => "24.3.1"
(and (> emacs-major-version 24) (> emacs-minor-version 2))  ; => nil
(and (>= emacs-major-version 24) (> emacs-minor-version 2)) ; => t

thanks to @peterwang
0d189230e8 (commitcomment-5762776)
This commit is contained in:
niku 2014-03-24 11:50:38 +09:00
parent c201a5dec6
commit f19dedeabb
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further."
capabilities, etc.")
(defvar which-flet
(if (and (> emacs-major-version 24) (> emacs-minor-version 2))
(if (and (>= emacs-major-version 24) (> emacs-minor-version 2))
(fset 'which-flet 'cl-flet)
(fset 'which-flet 'flet))
"This variable will store either flet or cl-flet depending on the Emacs