aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2000-10-17 12:00:37 +0000
committerEli Zaretskii2000-10-17 12:00:37 +0000
commit8379c86876d12f2efc01ccfbf348f5f3d6e9f6f9 (patch)
treea1e67f769ec1e4bb02afa36e47a821a88332f5e1
parent46c5af7fa1b77d67459861cff558f26cba27194f (diff)
downloademacs-8379c86876d12f2efc01ccfbf348f5f3d6e9f6f9.tar.gz
emacs-8379c86876d12f2efc01ccfbf348f5f3d6e9f6f9.zip
(font-lock-comment-face): Define a separate default
for dark-background tty's.
-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
1861;; But now we do it the custom way. Note that `defface' will not overwrite any 1861;; But now we do it the custom way. Note that `defface' will not overwrite any
1862;; faces declared above via `custom-declare-face'. 1862;; faces declared above via `custom-declare-face'.
1863(defface font-lock-comment-face 1863(defface font-lock-comment-face
1864 '((((type tty) (class color)) (:foreground "red")) 1864 '((((type tty pc) (class color) (background light)) (:foreground "red"))
1865 (((type tty pc) (class color) (background dark)) (:foreground "lightred"))
1865 (((class grayscale) (background light)) 1866 (((class grayscale) (background light))
1866 (:foreground "DimGray" :bold t :italic t)) 1867 (:foreground "DimGray" :bold t :italic t))
1867 (((class grayscale) (background dark)) 1868 (((class grayscale) (background dark))