changeset 32573:8005157ad452

(font-lock-comment-face): Define a separate default for dark-background tty's.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 17 Oct 2000 12:00:37 +0000
parents 99b7b88db80c
children 6bf2085af413
files lisp/font-lock.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Tue Oct 17 11:57:30 2000 +0000
+++ b/lisp/font-lock.el	Tue Oct 17 12:00:37 2000 +0000
@@ -1861,7 +1861,8 @@
 ;; But now we do it the custom way.  Note that `defface' will not overwrite any
 ;; faces declared above via `custom-declare-face'.
 (defface font-lock-comment-face
-  '((((type tty) (class color)) (:foreground "red"))
+  '((((type tty pc) (class color) (background light)) (:foreground "red"))
+    (((type tty pc) (class color) (background dark)) (:foreground "lightred"))
     (((class grayscale) (background light))
      (:foreground "DimGray" :bold t :italic t))
     (((class grayscale) (background dark))