Explain in a comment why the default background-setting code is still
here, although xterm.l and rxvt.el do that better.
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user