From 8379c86876d12f2efc01ccfbf348f5f3d6e9f6f9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 17 Oct 2000 12:00:37 +0000 Subject: [PATCH] (font-lock-comment-face): Define a separate default for dark-background tty's. --- lisp/font-lock.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 6cff0e1e2fe..691c9f250dd 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1861,7 +1861,8 @@ Sets various variables using `font-lock-defaults' (or, if nil, using ;; 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)) -- 2.39.2