sellout / emacs-color-theme-solarized

Emacs highlighting using Ethan Schoonover’s Solarized color scheme
http://ethanschoonover.com/solarized
MIT License
1.15k stars 201 forks source link

Make loading definitions use relative paths #25

Closed quodlibetor closed 12 years ago

quodlibetor commented 13 years ago

Example:

My load-path includes ~/.emacs.d/plugins/themes/ and so when I load solarized it's (load "emacs-color-theme-solarized/color-theme-solarized") which dies with some "unable to require" message.

I "fixed" it in 99e4437904babf5e91ba2962d779ed0ec4590429 , I'm not sure if it's the right way to do it, but it works for me.

quodlibetor commented 13 years ago

My "fix" was actually broken because I didn't understand the way that emacs handles cwd (which is to say, it basically doesn't?)

So, new workaround for the lack of a relpath function is available here: 30327f3643537a977bb5c32d17ecce0610db453f

sellout commented 12 years ago

@quodlibetor – I had to come up with a slightly different approach for the Emacs 24 themes, but thanks for the color-theme fix.