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: Juanma Barranquero
Subject: Re: defface not defining a face?
Date: Sun, 9 Mar 2014 19:16:22 +0100

On Sun, Mar 9, 2014 at 7:08 PM, lee <lee@yun.yagibdah.de> wrote:

> (defface lsl-global-variable
>   '((((background dark)) (:background "pink" :foreground "black"))
>     (t (:background "pink")))
>   "Face to highlight global variables"
>   :group 'lsl-faces)

> 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.

    J



reply via email to

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