I am looking for a way to force "emacs -nw" to use the same background color that the terminal uses. (just like vim does). By default, every emacs theme has its own default background color. Whiteboard mode has white that is not the same white as my terminal.


It seems that setting the background color of the default font to an undefined value turns off any customization. This feels like a hack, and there might be a better way to do this, but this worked for me:

;; init.el
(set-face-background 'default "undefined")

Of course, if "undefined" will ever be defined (haha) in the color palette, this will break.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.