Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4d8765a2
Commit
4d8765a2
authored
Jul 07, 1995
by
Richard M. Stallman
Browse files
(font-lock-make-faces): On grayscale screen,
use grays for background, not foreground.
parent
9595fbdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lisp/font-lock.el
lisp/font-lock.el
+6
-6
No files found.
lisp/font-lock.el
View file @
4d8765a2
...
...
@@ -275,21 +275,21 @@ See `font-lock-make-face' and `list-faces-display'."
grayshade
greyshade
))
(
list
(
list
'font-lock-comment-face
(
if
light-bg
"
Dim
Gray"
"Gray
80"
)
nil
t
t
nil
)
nil
(
if
light-bg
"Gray
80
"
"
Dim
Gray
"
)
t
t
nil
)
(
list
'font-lock-string-face
(
if
light-bg
"Gray50"
"LightGray"
)
nil
nil
t
nil
)
nil
(
if
light-bg
"Gray50"
"LightGray"
)
nil
t
nil
)
(
list
'font-lock-keyword-face
(
if
light-bg
"
Dim
Gray"
"Gray
90"
)
nil
t
nil
nil
)
nil
(
if
light-bg
"Gray
90
"
"
Dim
Gray
"
)
t
nil
nil
)
(
list
'font-lock-function-name-face
(
cdr
(
assq
'background-color
(
frame-parameters
)))
(
cdr
(
assq
'foreground-color
(
frame-parameters
)))
t
nil
nil
)
(
list
'font-lock-variable-name-face
(
if
light-bg
"
Dim
Gray"
"Gray
90"
)
nil
t
t
nil
)
nil
(
if
light-bg
"Gray
90
"
"
Dim
Gray
"
)
t
t
nil
)
(
list
'font-lock-type-face
(
if
light-bg
"
Dim
Gray"
"Gray
80"
)
nil
t
nil
t
)
nil
(
if
light-bg
"Gray
80
"
"
Dim
Gray
"
)
t
nil
t
)
(
list
'font-lock-reference-face
(
if
light-bg
"Gray
50
"
"
LightGray"
)
nil
t
nil
t
)))
nil
(
if
light-bg
"
Light
Gray"
"
Gray50"
)
t
nil
t
)))
(
light-bg
; light colour background
'
((
font-lock-comment-face
"Firebrick"
)
(
font-lock-string-face
"RosyBrown"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment