commit eb065b8ff8d8dd22ca2f5796769f25dffc544441
parent 1c4887767a0ce0f0f6192d6a1f8186540a1b4c64
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Sat, 28 Jun 2014 13:50:04 +0200
color fix for emacs in terminal
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
@@ -401,3 +401,6 @@
;(define-key global-map (kbd "RET") 'newline-and-indent)
(define-key global-map (kbd "RET") 'reindent-then-newline-and-indent)
(put 'dired-find-alternate-file 'disabled nil)
+
+;; do not apply background color in terminal
+(custom-set-faces (if (not window-system) '(default ((t (:background "nil"))))))