changeset 97995:eaf8630bda7d

(msdos-face-setup): Setup faces for all frames, not just for terminal-frame.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 05 Sep 2008 11:25:42 +0000
parents b74042c3e459
children 91642d7b6309
files lisp/term/pc-win.el
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/pc-win.el	Fri Sep 05 07:36:53 2008 +0000
+++ b/lisp/term/pc-win.el	Fri Sep 05 11:25:42 2008 +0000
@@ -86,20 +86,20 @@
 ;(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."