I'm pretty new to emacs customization and lisp, so I don't really know how to debug this problem.

I'm trying to install a custom theme. Here's a link to the .el file.

The theme's load-path is set correctly, and it shows up in the M-x customize-themes menu, but when I try to enable it I get this in the echo area:

Undefined Custom theme emerald

Any idea why this is happening? Thanks.

  • 1
    Does this help at all? – Drew Apr 1 '15 at 18:33
  • Are you adding the theme to you're load-path or you custom-theme-load-path? – Jordon Biondo Apr 2 '15 at 13:21
  • Drew, I added (package-initialize) to my .emacs, but nothing changed. – Jasper Apr 2 '15 at 13:24
  • Jordon, it's custom-theme-load-path. – Jasper Apr 2 '15 at 13:25

Okay, I figured it out. My fault entirely. I had been changing the name of the theme, and forgot to change some of the name definitions (e.g. deftheme emerald) in the theme file. Now it works fine. Thanks for your help, anyways!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.