Function: rxvt-set-background-mode

rxvt-set-background-mode is a byte-compiled function defined in rxvt.el.gz.

Signature

(rxvt-set-background-mode)

Documentation

Set background mode as appropriate for the default rxvt colors.

Source Code

;; Defined in /usr/src/emacs/lisp/term/rxvt.el.gz
;; rxvt puts the default colors into an environment variable
;; COLORFGBG.  We use this to set the background mode in a more
;; intelligent way than the default guesswork in startup.el.
(defun rxvt-set-background-mode ()
  "Set background mode as appropriate for the default rxvt colors."
  (set-terminal-parameter nil 'background-mode (rxvt-colorfgbg-background-mode
                                                (getenv "COLORFGBG"))))