(set-face-attribute 'diredp-dir-heading nil
'(t (:foreground blue
:background dark1)))
What should be the right statements to set this face? Bow//
(set-face-attribute 'diredp-dir-heading nil
'(t (:foreground blue
:background dark1)))
What should be the right statements to set this face? Bow//
Copyright © 2021 Jogjafile Inc.
Face attributes
:foregroundand:backgroundmust have string values.So try
"blue"instead ofblueetc.The error message you see is saying that you asked Emacs to evaluate
blue, which means find its value as a variable. Emacs tried that and found that the symbolbluehas no value as a variable. The string"blue", on the other hand, evaluates to itself, and a string is exactly the kind of value that is needed here.