From f19dedeabb9d62612fdb2f19265287c44980569b Mon Sep 17 00:00:00 2001 From: niku Date: Mon, 24 Mar 2014 11:50:38 +0900 Subject: [PATCH] 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 https://github.com/sellout/emacs-color-theme-solarized/commit/0d189230e869a6cdebdc4849967f76127281508c#commitcomment-5762776 --- solarized-definitions.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solarized-definitions.el b/solarized-definitions.el index 7834c5d..bcfe399 100644 --- a/solarized-definitions.el +++ b/solarized-definitions.el @@ -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