Next: Q3.1.3, Previous: Q3.1.1, Up: Customisation
You can test the return value of the function (device-class)
, as
in:
(when (eq (device-class) 'color) (set-face-foreground 'font-lock-comment-face "Grey") (set-face-foreground 'font-lock-string-face "Red") .... )