Use display-color-p.
This commit is contained in:
parent
04c26901e2
commit
27cd44bcfa
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ no color is set and a warning is issued."
|
|||
(let ((name (symbol-name symbol))
|
||||
foreground)
|
||||
(cond ((internal-find-face symbol))
|
||||
((and window-system
|
||||
((and (display-color-p)
|
||||
(or (setq foreground (string-match "^fg:" name))
|
||||
(string-match "^bg:" name)))
|
||||
(let ((face (make-face symbol))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue