aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDan Nicolaescu2009-12-07 06:30:30 +0000
committerDan Nicolaescu2009-12-07 06:30:30 +0000
commita91e1f6bf8c2c1a721d660dbb49bede3adde0a38 (patch)
tree4e53846dd31c4b8161a35be07dcf79ae19bd900f /etc
parent5fa9d1ecf496e0c20ee0f263c64c97c40b9cab35 (diff)
downloademacs-a91e1f6bf8c2c1a721d660dbb49bede3adde0a38.tar.gz
emacs-a91e1f6bf8c2c1a721d660dbb49bede3adde0a38.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c41a437ea2f..f351fe9e16e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -339,6 +339,11 @@ That means, they change `default-directory' to the new users value,
339and let commands run under that user permissions. It works even when 339and let commands run under that user permissions. It works even when
340`default-directory' is already remote. 340`default-directory' is already remote.
341 341
342*** When running in a new enough xterm (newer than version 242), emacs
343asks xterm what the background color is and it sets up faces
344accordingly for a dark background if needed (the current default is to
345consider the background light).
346
342 347
343* New Modes and Packages in Emacs 23.2 348* New Modes and Packages in Emacs 23.2
344 349