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
03a84c34
Commit
03a84c34
authored
Nov 25, 1995
by
Richard M. Stallman
Browse files
(font-lock-make-faces): Add special code for ms-dos.
parent
bc15ba42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lisp/font-lock.el
lisp/font-lock.el
+5
-0
No files found.
lisp/font-lock.el
View file @
03a84c34
...
...
@@ -904,6 +904,11 @@ See `font-lock-make-face' and `list-faces-display'."
"BackgroundMode"
))
(
params
(
frame-parameters
)))
(
cond
(
bg-resource
(
intern
(
downcase
bg-resource
)))
((
eq
system-type
'ms-dos
)
(
if
(
string-match
"light"
(
cdr
(
assq
'background-color
params
)))
'light
'dark
))
((
<
(
apply
'+
(
x-color-values
(
cdr
(
assq
'background-color
params
))))
(
/
(
apply
'+
(
x-color-values
"white"
))
3
))
...
...
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