users cannot customize faces?
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
bg66@debian.org bg66@koka-in.org
Share what you know. Learn what you don't.
Reply to: