branch: elpa/monokai-theme
commit 429584fd94083f7b946e8e2ceb8121749ed118ea
Author: Chris Sims <[email protected]>
Commit: Chris Sims <[email protected]>
Change logic on Emacs version check.
The original version works for Emacs 24, but nothing beyond that. I ran
into this because the latest Emacs head is (mistakenly?) reporting its version
as `25.0.50.1`.
---
monokai-theme.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/monokai-theme.el b/monokai-theme.el
index 8a90314..7044f7a 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -44,7 +44,7 @@
;;
;;; Code:
-(unless (>= 24 emacs-major-version)
+(unless (>= emacs-major-version 24)
(error "The monokai theme requires Emacs 24 or later!"))
(deftheme monokai "The Monokai colour theme")