mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
(msdos-face-setup): Setup faces for all frames, not just for terminal-frame.
This commit is contained in:
parent
e271d38e79
commit
7ced34de28
@ -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
|
||||
|
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user