Re: users cannot customize faces?
On November 11, 2003 at 6:52PM +0900,
OHASHI Akira <bg66@debian.org> wrote:
> 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
I don't know for certain, but (nil) works fine:
(defface test-face-3
'((t (:background "Yellow")))
"test face 1"
:group 'test)
(custom-set-faces
'(test-face-3 ((t (nil)))))
(face-background 'test-face-3) => nil
--
Tatsuya Kinoshita
Reply to: