Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install from melpa #201

Open
spapanik opened this issue Apr 26, 2017 · 3 comments
Open

Cannot install from melpa #201

spapanik opened this issue Apr 26, 2017 · 3 comments

Comments

@spapanik
Copy link

Manual installation of the theme works, but if I try to install the theme from Melpa (with (use-package color-theme-solarized)) I get the following error:

Warning (initialization): An error occurred while loading '~/.emacs.d/init.el':

Symbol's value as variable is void: color-themes

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the '--debug-init' option to view a complete error backtrace.

I am on emacs 25.2

@NicholasTD07
Copy link

NicholasTD07 commented Aug 6, 2017

I ran into the same problem and I thought it wasn't installed. But it's actually installed and if you do M-x load-theme, you can find the theme. Not sure how to solve this once and for all yet.

@NicholasTD07
Copy link

I have a workaround to silence the warning by defining color-themes as a list (setq color-themes '()) before you load the package. For example, I use use-package to manage all my packages and I add this line into my :init.

(use-package color-theme-solarized
  :init (setq color-themes '())) ; Hack to silence compiler warning

@ericbn
Copy link

ericbn commented Aug 12, 2017

Had the same issue. Looks like we should have color-theme installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants