# HG changeset patch # User Richard M. Stallman # Date 817047882 0 # Node ID 6da84b713ae749fa8c4437ffc020b2e8bf8b71a7 # Parent 8873aa3451dde555357b11ad76a64cf2ec23b043 (msdos-color-aliases): Add more aliases. (msdos-face-setup): Change colors for bold, bold-italic, underline. (x-frob-font-slant): Define as no-op. diff -r 8873aa3451dd -r 6da84b713ae7 lisp/term/pc-win.el --- a/lisp/term/pc-win.el Wed Nov 22 12:38:53 1995 +0000 +++ b/lisp/term/pc-win.el Wed Nov 22 13:44:42 1995 +0000 @@ -36,7 +36,19 @@ ("darkgoldenrod" . "brown") ("goldenrod" . "yellow") ("grey40" . "darkgray") - ("rosybrown" . "brown")) + ("rosybrown" . "brown") + ("blue" . "lightblue") ;; from here: for Enriched Text + ("darkslategray" . "darkgray") + ("orange" . "brown") + ("light blue" . "lightblue") ;; from here: for cpp-highlight + ("light cyan" . "lightcyan") + ("light yellow" . "yellow") + ("light pink" . "lightred") + ("pale green" . "lightgreen") + ("beige" . "brown") + ("medium purple" . "magenta") + ("turquoise" . "lightgreen") + ("violet" . "magenta")) "List of alternate names for colors.") (defun msdos-color-translate (name) @@ -84,10 +96,10 @@ (defun msdos-face-setup () (modify-frame-parameters (selected-frame) default-frame-alist) - (set-face-foreground 'bold "white") + (set-face-foreground 'bold "yellow") (set-face-foreground 'italic "red") - (set-face-foreground 'bold-italic "yellow") - (set-face-foreground 'underline "blue") + (set-face-foreground 'bold-italic "lightred") + (set-face-foreground 'underline "white") (set-face-background 'region "green") (make-face 'msdos-menu-active-face) @@ -136,6 +148,11 @@ (defun x-get-selection (&rest rest) "") (fset 'x-set-selection 'ignore) +;; From lisp/faces.el: we only have one font, so always return +;; it, no matter which variety they've asked for. +(defun x-frob-font-slant (font which) + font) + ;; From lisp/frame.el (fset 'set-default-font 'ignore) (fset 'set-mouse-color 'ignore) ; We cannot, I think.