From: Eli Zaretskii Date: Sat, 15 May 2004 12:17:22 +0000 (+0000) Subject: (compilation-warning-face, compilation-info-face): Use min-colors. X-Git-Tag: ttn-vms-21-2-B4~6213 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc3621a08e416d682d392e760259586a6b243853;p=emacs.git (compilation-warning-face, compilation-info-face): Use min-colors. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cb22fea6931..7f25c71200e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-05-15 Dan Nicolaescu + + * progmodes/compile.el (compilation-warning-face) + (compilation-info-face): Use min-colors. + 2004-05-15 Jan Dj,Ad(Brv * toolbar/close.pbm, toolbar/close.xpm diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index b22639f0350..da43b7b7098 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -448,17 +448,19 @@ starting the compilation process.") (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