From: Eli Zaretskii Date: Fri, 15 Jun 2001 10:16:29 +0000 (+0000) Subject: (font-lock-comment-face): For tty's with dark X-Git-Tag: emacs-pretest-21.0.104~260 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ce6b1982602629f55ee7bf090021d956dddbb632;p=emacs.git (font-lock-comment-face): For tty's with dark background, use "red1", since "lightred" is not one of the colors recognized by tty-colors.el. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ba8a8b0b7cf..29544ed916f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2001-06-15 Eli Zaretskii + * font-lock.el (font-lock-comment-face): For tty's with dark + background, use "red1", since "lightred" is not one of the colors + recognized by tty-colors.el. + * tar-mode.el (tar-extract): Call generate-new-buffer-name to create a buffer for extracted file, in case there's more than one file by that name in an archive, possibly in different diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 5b8cf16e7e8..d1315fbc794 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1815,7 +1815,7 @@ Sets various variables using `font-lock-defaults' (or, if nil, using ;; faces declared above via `custom-declare-face'. (defface font-lock-comment-face '((((type tty pc) (class color) (background light)) (:foreground "red")) - (((type tty pc) (class color) (background dark)) (:foreground "lightred")) + (((type tty pc) (class color) (background dark)) (:foreground "red1")) (((class grayscale) (background light)) (:foreground "DimGray" :bold t :italic t)) (((class grayscale) (background dark))