summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-01-25 17:29:34 +0000
committerEli Zaretskii <eliz@gnu.org>2002-01-25 17:29:34 +0000
commit818cd248c3a22df7517554a00fa065e77eecf788 (patch)
tree7bc939dc9e503e8e82b0bca15de8f92fb69a8a56 /lisp/startup.el
parente47cd3c4e2a137839698dc046e0745b57b02ae1d (diff)
downloademacs-818cd248c3a22df7517554a00fa065e77eecf788.tar.gz
Explain in a comment why the default background-setting code is still
here, although xterm.l and rxvt.el do that better.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el3
1 files changed, 3 insertions, 0 deletions
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)))