From: Dan Nicolaescu Date: Wed, 10 Feb 2010 05:33:17 +0000 (-0800) Subject: (xterm-maybe-set-dark-background-mode): Remove X-Git-Tag: emacs-pretest-23.1.93~83 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c59d6fadf77535f3ecb36fec13271ee0a97a65b3;p=emacs.git (xterm-maybe-set-dark-background-mode): Remove dead code. (Bug#5546) --- 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))