First, eval the following: (defface test-face-1 '((t (:background "Yellow"))) "test face 1" :group 'test) (custom-set-faces '(test-face-1 ((t nil))))
(custom-set-faces '(test-face-2 ((t nil)))) (defface test-face-2 '((t (:background "Yellow"))) "test face 2" :group 'test) These codes bring about the following result. (face-background 'test-face-1) => "Yellow" (face-background 'test-face-2) => nil If defface is in /etc/emacs/site-start.d/xxx.el[1] and custom-set-faces is in ~/.emacs, custom-set-faces doesn't work fine. Because debian startup files are loaded before a user init file. Therefore, users cannot customize faces. Someone have any comments and good solutions? [1] of course include the files which is required in Cheers, -- OHASHI Akira [EMAIL PROTECTED] [EMAIL PROTECTED] Share what you know. Learn what you don't.