From: Eli Zaretskii Date: Fri, 25 Jan 2002 17:29:34 +0000 (+0000) Subject: Explain in a comment why the default background-setting code is still X-Git-Tag: ttn-vms-21-2-B4~16968 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=818cd248c3a22df7517554a00fa065e77eecf788;p=emacs.git Explain in a comment why the default background-setting code is still here, although xterm.l and rxvt.el do that better. --- diff --git a/lisp/startup.el b/lisp/startup.el index 12097f5fe8f..932f12bf9b9 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -514,6 +514,9 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." (or (null bg) (member bg '(unspecified "unspecified-bg"))))) (setq term (getenv "TERM")) + ;; Some files in lisp/term do a better job with the + ;; background mode, but we leave this here anyway, in + ;; case they remove those files. (if (string-match "^\\(xterm\\|rxvt\\|dtterm\\|eterm\\)" term) (setq frame-background-mode 'light)))