[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105166: Use "yellow" on low color te
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105166: Use "yellow" on low color terminals for comments |
Date: |
Wed, 13 Jul 2011 17:33:08 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105166
fixes bug(s): http://debbugs.gnu.org/4221
author: Dan Nicolaescu <address@hidden>
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Wed 2011-07-13 17:33:08 +0200
message:
Use "yellow" on low color terminals for comments
* font-lock.el (font-lock-comment-face): Use the high contrast
"yellow" color for font-lock-comment-face on low color terminals
using a dark background color.
modified:
lisp/ChangeLog
lisp/font-lock.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-07-13 15:15:26 +0000
+++ b/lisp/ChangeLog 2011-07-13 15:33:08 +0000
@@ -1,3 +1,9 @@
+2011-07-13 Dan Nicolaescu <address@hidden>
+
+ * font-lock.el (font-lock-comment-face): Use the high contrast
+ "yellow" color for font-lock-comment-face on low color terminals
+ using a dark background color (bug#4221).
+
2011-07-13 Lars Magne Ingebrigtsen <address@hidden>
* dired.el (dired-insert-set-properties): Make the doc string
=== modified file 'lisp/font-lock.el'
--- a/lisp/font-lock.el 2011-07-05 15:23:15 +0000
+++ b/lisp/font-lock.el 2011-07-13 15:33:08 +0000
@@ -1856,19 +1856,13 @@
(((class color) (min-colors 8) (background light))
(:foreground "red"))
(((class color) (min-colors 8) (background dark))
- )
+ (:foreground "yellow"))
(t (:weight bold :slant italic)))
"Font Lock mode face used to highlight comments."
:group 'font-lock-faces)
(defface font-lock-comment-delimiter-face
- '((default :inherit font-lock-comment-face)
- (((class grayscale)))
- (((class color) (min-colors 16)))
- (((class color) (min-colors 8) (background light))
- :foreground "red")
- (((class color) (min-colors 8) (background dark))
- :foreground "red1"))
+ '((default :inherit font-lock-comment-face))
"Font Lock mode face used to highlight comment delimiters."
:group 'font-lock-faces)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105166: Use "yellow" on low color terminals for comments,
Lars Magne Ingebrigtsen <=