branch: elpa/monokai-theme
commit d8f74a6af24a8b82d2798eab5396ced55b4aa789
Author: Kelvin Smith <[email protected]>
Commit: Kelvin Smith <[email protected]>

    Modify hl-line face to change the background color and preserve font-lock 
faces for syntax highlighting.
---
 monokai-theme.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/monokai-theme.el b/monokai-theme.el
index 7d6643c..60afc03 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -431,10 +431,7 @@ foreground ,monokai-fg-1
    `(helm-candidate-number ((t (:foreground ,monokai-green+2 :background 
,monokai-bg-1))))
    `(helm-ff-directory ((t (:foreground ,monokai-magenta))))
 ;;;;; hl-line-mode
-   `(hl-line-face ((,class (:background ,monokai-bg+1))
-                   (t :weight bold)))
-   `(hl-line ((,class (:background ,monokai-bg+1)) ; old emacsen
-              (t :weight bold)))
+   `(hl-line ((nil (:background ,monokai-bg+1 nil :inherit t))))
 ;;;;; hl-sexp
    `(hl-sexp-face ((,class (:background ,monokai-bg+1))
                    (t :weight bold)))

Reply via email to