From c59d6fadf77535f3ecb36fec13271ee0a97a65b3 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Tue, 9 Feb 2010 21:33:17 -0800 Subject: [PATCH] (xterm-maybe-set-dark-background-mode): Remove dead code. (Bug#5546) --- lisp/ChangeLog | 5 +++++ lisp/term/xterm.el | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2ef03c3fb30..d4699aa64aa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-02-10 Dan Nicolaescu + + * term/xterm.el (xterm-maybe-set-dark-background-mode): Remove + dead code. (Bug#5546) + 2010-02-09 Chong Yidong * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index d881e6fcc7d..ccedf4045e4 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el @@ -679,7 +679,6 @@ versions of xterm." ;; 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)) -- 2.39.2