Skip to content

Instantly share code, notes, and snippets.

@denlab
Created October 27, 2012 15:41
Show Gist options
  • Save denlab/3965108 to your computer and use it in GitHub Desktop.
Save denlab/3965108 to your computer and use it in GitHub Desktop.
;;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