diff options
| author | Dan Nicolaescu | 2009-12-07 06:30:30 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-12-07 06:30:30 +0000 |
| commit | a91e1f6bf8c2c1a721d660dbb49bede3adde0a38 (patch) | |
| tree | 4e53846dd31c4b8161a35be07dcf79ae19bd900f /etc | |
| parent | 5fa9d1ecf496e0c20ee0f263c64c97c40b9cab35 (diff) | |
| download | emacs-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -339,6 +339,11 @@ That means, they change `default-directory' to the new users value, | |||
| 339 | and let commands run under that user permissions. It works even when | 339 | and 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 | ||
| 343 | asks xterm what the background color is and it sets up faces | ||
| 344 | accordingly for a dark background if needed (the current default is to | ||
| 345 | consider 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 | ||