[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/term/rxvt.el
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/term/rxvt.el |
Date: |
Wed, 29 Jun 2005 16:56:34 -0400 |
Index: emacs/lisp/term/rxvt.el
diff -c emacs/lisp/term/rxvt.el:1.4 emacs/lisp/term/rxvt.el:1.5
*** emacs/lisp/term/rxvt.el:1.4 Mon Sep 1 15:45:36 2003
--- emacs/lisp/term/rxvt.el Wed Jun 29 20:56:34 2005
***************
*** 150,156 ****
"Set background mode as appropriate for the default rxvt colors."
(let ((fgbg (getenv "COLORFGBG"))
bg rgb)
! (setq frame-background-mode 'light) ; default
(when (and fgbg
(string-match ".*;\\([0-9][0-9]?\\)\\'" fgbg))
(setq bg (string-to-number (substring fgbg (match-beginning 1))))
--- 150,156 ----
"Set background mode as appropriate for the default rxvt colors."
(let ((fgbg (getenv "COLORFGBG"))
bg rgb)
! (setq default-frame-background-mode 'light)
(when (and fgbg
(string-match ".*;\\([0-9][0-9]?\\)\\'" fgbg))
(setq bg (string-to-number (substring fgbg (match-beginning 1))))
***************
*** 163,169 ****
;; The following line assumes that white is the 15th
;; color in rxvt-standard-colors.
(* (apply '+ (car (cddr (nth 15 rxvt-standard-colors)))) 0.6))
! (setq frame-background-mode 'dark)))
(frame-set-background-mode (selected-frame))))
;; Do it!
--- 163,169 ----
;; The following line assumes that white is the 15th
;; color in rxvt-standard-colors.
(* (apply '+ (car (cddr (nth 15 rxvt-standard-colors)))) 0.6))
! (setq default-frame-background-mode 'dark)))
(frame-set-background-mode (selected-frame))))
;; Do it!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/term/rxvt.el,
Juri Linkov <=