From: Eli Zaretskii Date: Tue, 17 Oct 2000 12:00:37 +0000 (+0000) Subject: (font-lock-comment-face): Define a separate default X-Git-Tag: emacs-pretest-21.0.90~810 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8379c86876d12f2efc01ccfbf348f5f3d6e9f6f9;p=emacs.git (font-lock-comment-face): Define a separate default for dark-background tty's. --- 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))