I use .emacs-custom.el to contain the customizations made by the interactive functions. However, I'd like to start moving some of that stuff out so I can manage it myself and make comments. I tried pulling some stuff out and putting into my init.el, but it didn't work. Namely, I pulled out these:
'(org-todo ((((class color) (min-colors 89)) (:weight normal :box (:line-width 1 :color "#808080") :foreground "#FF00FF" :background "#f0f0f0"))))
'(org-upcoming-deadline ((t (:foreground "#FF33FF"))))
'(org-warning ((t (:background "#ffffa0" :foreground "#ff33ff" :weight normal))))
Why don't these work within my init.el? I tried them before and after my (load custom-file).
**EDIT:** Ok I see I'm supposed to use set-face-attribute. So I tried wrapping the above, but this doesn't work
(set-face-attribute 'org-todo ((((class color) (min-colors 89)) (:weight normal :box (:line-width 1 :color "#808080") :foreground "#FF00FF" :background "#f0f0f0"))))
**EDIT 2:** I figured out the answer. A correct, commonly used form for set-face-attribute is like this:
(set-face-attribute 'org-todo nil :box '(:line-width 1 :color "#808080") :weight 'normal :foreground "#FF00FF" :background "#f0f0f0")
And it probably didn't work with a straight copy because each of those first three lines, I think those are args to the function (custom-set-faces...). I don't know what it does behind the scenes, but I guess it wants its args in a certain format.