solarized-definitions.el: fix comparison error in which-flet fset logic.

flet was deprecated in 24.3, but daff304 accidentally used > 25.2 instead
of >= 24.3 as a condition. This commit fixes that.
This commit is contained in:
Dato Simó 2014-04-07 21:35:43 +01:00 committed by Dato Simó
parent 0d189230e8
commit b2262b2703
1 changed files with 2 additions and 1 deletions

View File

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