aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'."
514 (or (null bg) 514 (or (null bg)
515 (member bg '(unspecified "unspecified-bg"))))) 515 (member bg '(unspecified "unspecified-bg")))))
516 (setq term (getenv "TERM")) 516 (setq term (getenv "TERM"))
517 ;; Some files in lisp/term do a better job with the
518 ;; background mode, but we leave this here anyway, in
519 ;; case they remove those files.
517 (if (string-match "^\\(xterm\\|rxvt\\|dtterm\\|eterm\\)" 520 (if (string-match "^\\(xterm\\|rxvt\\|dtterm\\|eterm\\)"
518 term) 521 term)
519 (setq frame-background-mode 'light))) 522 (setq frame-background-mode 'light)))