branch: elpa/gruvbox-theme
commit 4008f08cd5356a122f0af921f04fdadae61ddb36
Author: nverno <[email protected]>
Commit: Jason Milkins <[email protected]>
eval cl or cl-lib when compiling (#42)
Adds an eval-when-compile to cl-lib for `cl-case`
---
gruvbox-theme.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gruvbox-theme.el b/gruvbox-theme.el
index baa7399dc9..7f1f8998f1 100644
--- a/gruvbox-theme.el
+++ b/gruvbox-theme.el
@@ -32,6 +32,8 @@
;; to make better and more feature complete.
;;; Code:
+(eval-when-compile
+ (require 'cl-lib))
(unless (>= emacs-major-version 24)
(error "Requires Emacs 24 or later"))
@@ -97,7 +99,7 @@
(gruvbox-aquamarine4 (if (display-graphic-p) "#83A598"
"aquamarine4"))
(gruvbox-turquoise4 (if (display-graphic-p) "#61ACBB"
"turquoise4"))
- (gruvbox-bg (case gruvbox-contrast
+ (gruvbox-bg (cl-case gruvbox-contrast
(hard gruvbox-dark0_hard)
(soft gruvbox-dark0_soft)
;; Medium by default.