]> git.eshelyaron.com Git - emacs.git/commitdiff
(msdos-face-setup): Setup faces for all frames, not just for terminal-frame.
authorEli Zaretskii <eliz@gnu.org>
Fri, 5 Sep 2008 11:27:29 +0000 (11:27 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 5 Sep 2008 11:27:29 +0000 (11:27 +0000)
lisp/ChangeLog
lisp/term/pc-win.el

index 115247b54f2e76aacababff369aa6fda840c33d8..82cab3b8dc1c430b08d45983a6fef026f9f9456c 100644 (file)
@@ -1,3 +1,8 @@
+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
index 2e9ce0d27a62e215abfba0c0bf46aae531709614..61211e65a1ec808fec9177492ad856c74a66702a 100644 (file)
 ;(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."