Mercurial > emacs
diff etc/NEWS @ 106469:ad4147368f52
Get the background mode from the terminal for xterm, and set
faces accordingly.
* term/xterm.el (xterm-set-background-mode): New function.
(terminal-init-xterm): Use it in case xterm supports background
color queries. Recompute faces after getting the background
color.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 07 Dec 2009 06:30:30 +0000 |
parents | 77b0defca7a3 |
children | 6e0f1038bc44 |
line wrap: on
line diff
--- a/etc/NEWS Mon Dec 07 06:21:27 2009 +0000 +++ b/etc/NEWS Mon Dec 07 06:30:30 2009 +0000 @@ -339,6 +339,11 @@ and let commands run under that user permissions. It works even when `default-directory' is already remote. +*** When running in a new enough xterm (newer than version 242), emacs +asks xterm what the background color is and it sets up faces +accordingly for a dark background if needed (the current default is to +consider the background light). + * New Modes and Packages in Emacs 23.2