summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-10-17 12:00:37 +0000
committerEli Zaretskii <eliz@gnu.org>2000-10-17 12:00:37 +0000
commit8379c86876d12f2efc01ccfbf348f5f3d6e9f6f9 (patch)
treea1e67f769ec1e4bb02afa36e47a821a88332f5e1 /lisp/font-lock.el
parent46c5af7fa1b77d67459861cff558f26cba27194f (diff)
downloademacs-8379c86876d12f2efc01ccfbf348f5f3d6e9f6f9.tar.gz
(font-lock-comment-face): Define a separate default
for dark-background tty's.
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r--lisp/font-lock.el3
1 files changed, 2 insertions, 1 deletions
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))