diff options
| author | Richard M. Stallman | 1995-11-22 13:44:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-22 13:44:42 +0000 |
| commit | ea6401d799e32a17523a65bf01f9e106e283be74 (patch) | |
| tree | a0b838ec86c82e58eff503ed7b12ecd1479f428d | |
| parent | 9af3143a29edc6d09019dcdebc2129abe118598d (diff) | |
| download | emacs-ea6401d799e32a17523a65bf01f9e106e283be74.tar.gz emacs-ea6401d799e32a17523a65bf01f9e106e283be74.zip | |
(msdos-color-aliases): Add more aliases.
(msdos-face-setup): Change colors for bold, bold-italic, underline.
(x-frob-font-slant): Define as no-op.
| -rw-r--r-- | lisp/term/pc-win.el | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el index 8e888c674b4..95b8cfc0c31 100644 --- a/lisp/term/pc-win.el +++ b/lisp/term/pc-win.el | |||
| @@ -36,7 +36,19 @@ | |||
| 36 | ("darkgoldenrod" . "brown") | 36 | ("darkgoldenrod" . "brown") |
| 37 | ("goldenrod" . "yellow") | 37 | ("goldenrod" . "yellow") |
| 38 | ("grey40" . "darkgray") | 38 | ("grey40" . "darkgray") |
| 39 | ("rosybrown" . "brown")) | 39 | ("rosybrown" . "brown") |
| 40 | ("blue" . "lightblue") ;; from here: for Enriched Text | ||
| 41 | ("darkslategray" . "darkgray") | ||
| 42 | ("orange" . "brown") | ||
| 43 | ("light blue" . "lightblue") ;; from here: for cpp-highlight | ||
| 44 | ("light cyan" . "lightcyan") | ||
| 45 | ("light yellow" . "yellow") | ||
| 46 | ("light pink" . "lightred") | ||
| 47 | ("pale green" . "lightgreen") | ||
| 48 | ("beige" . "brown") | ||
| 49 | ("medium purple" . "magenta") | ||
| 50 | ("turquoise" . "lightgreen") | ||
| 51 | ("violet" . "magenta")) | ||
| 40 | "List of alternate names for colors.") | 52 | "List of alternate names for colors.") |
| 41 | 53 | ||
| 42 | (defun msdos-color-translate (name) | 54 | (defun msdos-color-translate (name) |
| @@ -84,10 +96,10 @@ | |||
| 84 | (defun msdos-face-setup () | 96 | (defun msdos-face-setup () |
| 85 | (modify-frame-parameters (selected-frame) default-frame-alist) | 97 | (modify-frame-parameters (selected-frame) default-frame-alist) |
| 86 | 98 | ||
| 87 | (set-face-foreground 'bold "white") | 99 | (set-face-foreground 'bold "yellow") |
| 88 | (set-face-foreground 'italic "red") | 100 | (set-face-foreground 'italic "red") |
| 89 | (set-face-foreground 'bold-italic "yellow") | 101 | (set-face-foreground 'bold-italic "lightred") |
| 90 | (set-face-foreground 'underline "blue") | 102 | (set-face-foreground 'underline "white") |
| 91 | (set-face-background 'region "green") | 103 | (set-face-background 'region "green") |
| 92 | 104 | ||
| 93 | (make-face 'msdos-menu-active-face) | 105 | (make-face 'msdos-menu-active-face) |
| @@ -136,6 +148,11 @@ | |||
| 136 | (defun x-get-selection (&rest rest) "") | 148 | (defun x-get-selection (&rest rest) "") |
| 137 | (fset 'x-set-selection 'ignore) | 149 | (fset 'x-set-selection 'ignore) |
| 138 | 150 | ||
| 151 | ;; From lisp/faces.el: we only have one font, so always return | ||
| 152 | ;; it, no matter which variety they've asked for. | ||
| 153 | (defun x-frob-font-slant (font which) | ||
| 154 | font) | ||
| 155 | |||
| 139 | ;; From lisp/frame.el | 156 | ;; From lisp/frame.el |
| 140 | (fset 'set-default-font 'ignore) | 157 | (fset 'set-default-font 'ignore) |
| 141 | (fset 'set-mouse-color 'ignore) ; We cannot, I think. | 158 | (fset 'set-mouse-color 'ignore) ; We cannot, I think. |