Created
October 27, 2012 15:41
-
-
Save denlab/3965108 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;Hack to get a black background in terminal mode in emacs-live | |
;; most of it shamelessly stolen from: http://stackoverflow.com/questions/5795451/how-to-detect-that-emacs-is-in-terminal-mode | |
(add-hook 'after-make-frame-functions | |
(lambda () | |
(if (not window-system) | |
(set-face-background 'default "color-16")))) | |
(add-hook 'after-init-hook | |
(lambda () | |
(if (not window-system) | |
(set-face-background 'default "color-16")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment