solarized-emacs

a fork of Bozhidar Batsov's solarized-emacs
git clone https://git.trogloxene.org/solarized-emacs.git
Log | Files | Refs | README

commit 7331af08132e1a03f04854b7e349e86a577cdf09
parent a8cb8af769db056f80b2020b60f6b22b37f31c4d
Author: Steve Purcell <steve@sanityinc.com>
Date:   Thu,  5 May 2016 20:09:53 +1200

Autoload solarized-color-blend to avoid breaking customisation

When saving customisation after enabling this theme, the saved settings for certain variables (e.g. the highlight symbol faces) get set to forms which reference solarized-color-blend. If the saved theme is later switched to a different theme, then those variables settings break, because solarized will not be loaded at the time they are evaluated.
Diffstat:
Msolarized.el | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/solarized.el b/solarized.el @@ -139,6 +139,7 @@ RED, GREEN, and BLUE should be numbers between 0.0 and 1.0, inclusive." (format "#%02x%02x%02x" (* red 255) (* green 255) (* blue 255))) +;;;###autoload (defun solarized-color-blend (color1 color2 alpha) "Blends COLOR1 onto COLOR2 with ALPHA.