+2008-09-05 Eli Zaretskii <eliz@gnu.org>
+
+ * term/pc-win.el (msdos-face-setup): Setup faces for all frames,
+ not just for terminal-frame.
+
2008-09-05 Martin Rudalics <rudalics@gmx.at>
* window.el (window--try-to-split-window): Don't split when window
;(modify-frame-parameters terminal-frame default-frame-alist)
(defun msdos-face-setup ()
- "Set up initial faces for the MS-DOS display."
- (set-face-foreground 'bold "yellow" terminal-frame)
- (set-face-foreground 'italic "red" terminal-frame)
- (set-face-foreground 'bold-italic "lightred" terminal-frame)
- (set-face-foreground 'underline "white" terminal-frame)
+ "Initial setup of faces for the MS-DOS display."
+ (set-face-foreground 'bold "yellow")
+ (set-face-foreground 'italic "red")
+ (set-face-foreground 'bold-italic "lightred")
+ (set-face-foreground 'underline "white")
(make-face 'msdos-menu-active-face)
(make-face 'msdos-menu-passive-face)
(make-face 'msdos-menu-select-face)
- (set-face-foreground 'msdos-menu-active-face "white" terminal-frame)
- (set-face-foreground 'msdos-menu-passive-face "lightgray" terminal-frame)
- (set-face-background 'msdos-menu-active-face "blue" terminal-frame)
- (set-face-background 'msdos-menu-passive-face "blue" terminal-frame)
- (set-face-background 'msdos-menu-select-face "red" terminal-frame))
+ (set-face-foreground 'msdos-menu-active-face "white")
+ (set-face-foreground 'msdos-menu-passive-face "lightgray")
+ (set-face-background 'msdos-menu-active-face "blue")
+ (set-face-background 'msdos-menu-passive-face "blue")
+ (set-face-background 'msdos-menu-select-face "red"))
(defun msdos-handle-reverse-video (frame parameters)
"Handle the reverse-video frame parameter on MS-DOS frames."