changeset 107117:8839cd62c3d2

(xterm-maybe-set-dark-background-mode): Remove dead code. (Bug#5546)
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 09 Feb 2010 21:33:17 -0800
parents 0449c21035e7
children 68c91c0692df f9eab02425f0
files lisp/ChangeLog lisp/term/xterm.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Feb 08 21:43:23 2010 -0800
+++ b/lisp/ChangeLog	Tue Feb 09 21:33:17 2010 -0800
@@ -1,3 +1,8 @@
+2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* term/xterm.el (xterm-maybe-set-dark-background-mode): Remove
+	dead code.  (Bug#5546)
+
 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
 
 	* eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
--- a/lisp/term/xterm.el	Mon Feb 08 21:43:23 2010 -0800
+++ b/lisp/term/xterm.el	Tue Feb 09 21:33:17 2010 -0800
@@ -679,7 +679,6 @@
   ;; Use the heuristic in `frame-set-background-mode' to decide if a
   ;; frame is dark.
   (when (< (+ redc greenc bluec) (* .6 (+ 65535 65535 65535)))
-    (setq xterm-background-mode-changed t)
     (set-terminal-parameter nil 'background-mode 'dark)
     t))