Mercurial > emacs
changeset 55603:706a50524d5f
(compilation-warning-face, compilation-info-face): Use min-colors.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 15 May 2004 12:16:13 +0000 |
parents | 244966f6dffa |
children | a9b07f32419f |
files | lisp/progmodes/compile.el |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/compile.el Sat May 15 11:50:50 2004 +0000 +++ b/lisp/progmodes/compile.el Sat May 15 12:16:13 2004 +0000 @@ -448,17 +448,19 @@ (defvar compile-history nil) (defface compilation-warning-face - '((((type tty) (class color)) (:foreground "cyan" :weight bold)) - (((class color)) (:foreground "Orange" :weight bold)) + '((((class color) (min-colors 16)) (:foreground "Orange" :weight bold)) + (((class color)) (:foreground "cyan" :weight bold)) (t (:weight bold))) "Face used to highlight compiler warnings." :group 'font-lock-highlighting-faces :version "21.4") (defface compilation-info-face - '((((type tty) (class color)) (:foreground "green" :weight bold)) - (((class color) (background light)) (:foreground "Green3" :weight bold)) - (((class color) (background dark)) (:foreground "Green" :weight bold)) + '((((class color) (min-colors 16) (background light)) + (:foreground "Green3" :weight bold)) + (((class color) (min-colors 16) (background dark)) + (:foreground "Green" :weight bold)) + (((class color)) (:foreground "green" :weight bold)) (t (:weight bold))) "Face used to highlight compiler warnings." :group 'font-lock-highlighting-faces