emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/monokai-theme 97ff2d7 012/207: Fix #2 green background in


From: ELPA Syncer
Subject: [nongnu] elpa/monokai-theme 97ff2d7 012/207: Fix #2 green background in terminals. Credit for the fix should go to lvillani's el-monokai-theme.
Date: Thu, 21 Oct 2021 18:07:21 -0400 (EDT)

branch: elpa/monokai-theme
commit 97ff2d749a7153f07d3fc8af1c095d5aa3332875
Author: Geoff Greer <geoff@greer.fm>
Commit: Geoff Greer <geoff@greer.fm>

    Fix #2 green background in terminals. Credit for the fix should go to 
lvillani's el-monokai-theme.
---
 monokai-theme.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/monokai-theme.el b/monokai-theme.el
index e6d21fc..2b67f72 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -848,7 +848,9 @@ This requires library `rainbow-mode'.")
      (boundp 'custom-theme-load-path)
      (add-to-list 'custom-theme-load-path
                   (file-name-as-directory
-                   (file-name-directory load-file-name))))
+                   (file-name-directory load-file-name)))
+     (when (not window-system)
+       (custom-set-faces '(default ((t (:background "nil")))))))
 
 (provide-theme 'monokai)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]