mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(font-lock-make-faces): Add special code for ms-dos.
This commit is contained in:
parent
bc15ba424c
commit
03a84c34c2
@ -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…
Reference in New Issue
Block a user