help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defface not defining a face?


From: lee
Subject: Re: defface not defining a face?
Date: Sun, 09 Mar 2014 21:50:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

>> > Apparently the face is not defined.  How come?
>> 
>> Oh, yes, it is defined. Try (facep 'lsl-global-variable)
>> But a face is not a variable, so (boundp 'lsl-global-variable) is nil.
>
> In addition, do not use the group you are defining as a parent group:
>
> (defgroup lsl-faces nil
>   "Faces for lsl-mode."
>   :group 'lsl-faces ; <=========== REMOVE THIS
>   :group 'faces)

Thank you, I didn´t notice ...  It seems I´ll have to look into setting
up a group for the mode, since there are more things that can be
customized ...


-- 
Knowledge is volatile and fluid.  Software is power.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]