(font-lock-make-faces): Add special code for ms-dos.
This commit is contained in:
parent
bc15ba424c
commit
03a84c34c2
1 changed files with 5 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue