Get the background mode from the terminal for xterm, and set
authorDan Nicolaescu <dann@ics.uci.edu>
Mon, 7 Dec 2009 06:30:30 +0000 (06:30 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Mon, 7 Dec 2009 06:30:30 +0000 (06:30 +0000)
commita91e1f6bf8c2c1a721d660dbb49bede3adde0a38
tree4e53846dd31c4b8161a35be07dcf79ae19bd900f
parent5fa9d1ecf496e0c20ee0f263c64c97c40b9cab35
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.
etc/NEWS
lisp/ChangeLog
lisp/term/xterm.el