emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/monokai-theme 429584f 032/207: Change logic on Emacs versi


From: ELPA Syncer
Subject: [nongnu] elpa/monokai-theme 429584f 032/207: Change logic on Emacs version check.
Date: Thu, 21 Oct 2021 18:07:26 -0400 (EDT)

branch: elpa/monokai-theme
commit 429584fd94083f7b946e8e2ceb8121749ed118ea
Author: Chris Sims <jcsims@gmail.com>
Commit: Chris Sims <jcsims@gmail.com>

    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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]