From 7ced34de28202b8dcdc3525168e8b48074b24d53 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 5 Sep 2008 11:27:29 +0000 Subject: [PATCH] (msdos-face-setup): Setup faces for all frames, not just for terminal-frame. --- lisp/ChangeLog | 5 +++++ lisp/term/pc-win.el | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 115247b54f2..82cab3b8dc1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-09-05 Eli Zaretskii + + * term/pc-win.el (msdos-face-setup): Setup faces for all frames, + not just for terminal-frame. + 2008-09-05 Martin Rudalics * window.el (window--try-to-split-window): Don't split when window diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el index 2e9ce0d27a6..61211e65a1e 100644 --- a/lisp/term/pc-win.el +++ b/lisp/term/pc-win.el @@ -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." -- 2.39.5