solarized-emacs

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

commit 0cd4d7dc48349b07991d70904ec21b8ec7fc8f02
parent 53c7b32117e61143dc4f9d6680c31e928481816d
Author: Sebastian Wiesner <lunaryorn@gmail.com>
Date:   Thu, 23 May 2013 17:36:02 +0200

Properly reset attributes when using underlines

Face attributes from the original `defface` definition of the face must
be reset when using underlines, to get rid of additional
foreground/background coloring.

Follow up to #63

Diffstat:
Msolarized.el | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/solarized.el b/solarized.el @@ -363,25 +363,25 @@ ;; flymake `(flymake-errline ((,(append '((supports :underline (:style wave))) class) - (:underline (:style wave :color ,red))) + (:underline (:style wave :color ,red) :inherit unspecified :foreground unspecified :background unspecified)) (,class (:foreground ,red-hc :background ,red-lc :weight bold :underline t)))) `(flymake-infoline ((,(append '((supports :underline (:style wave))) class) - (:underline (:style wave :color ,green))) + (:underline (:style wave :color ,green) :inherit unspecified :foreground unspecified :background unspecified)) (,class (:foreground ,green-hc :background ,green-lc)))) `(flymake-warnline ((,(append '((supports :underline (:style wave))) class) - (:underline (:style wave :color ,yellow))) + (:underline (:style wave :color ,yellow) :inherit unspecified :foreground unspecified :background unspecified)) (,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold :underline t)))) ;; flycheck `(flycheck-error ((,(append '((supports :underline (:style wave))) class) - (:underline (:style wave :color ,red))) + (:underline (:style wave :color ,red) :inherit unspecified)) (,class (:foreground ,red-hc :background ,red-lc :weight bold :underline t)))) `(flycheck-warning ((,(append '((supports :underline (:style wave))) class) - (:underline (:style wave :color ,yellow))) + (:underline (:style wave :color ,yellow) :inherit unspecified)) (,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold :underline t)))) `(flycheck-fringe-error ((,class (:foreground ,red-hc :background ,red-lc :weight bold)))) @@ -391,11 +391,11 @@ ;; flyspell `(flyspell-duplicate ((,(append '((supports :underline (:style wave))) class) - (:underline (:style wave :color ,yellow))) + (:underline (:style wave :color ,yellow) :inherit unspecified)) (,class (:foreground ,yellow :weight bold :underline t)))) `(flyspell-incorrect ((,(append '((supports :underline (:style wave))) class) - (:underline (:style wave :color ,red))) + (:underline (:style wave :color ,red) :inherit unspecified)) (,class (:foreground ,red :weight bold :underline t)))) ;; erc