emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Elisp node Special Properties face description of COLOR-NAME


From: Eli Zaretskii
Subject: Re: Elisp node Special Properties face description of COLOR-NAME
Date: Wed, 31 May 2006 23:19:34 +0300

> From: "Drew Adams" <address@hidden>
> Date: Wed, 31 May 2006 10:20:31 -0700
> 
> The Elisp manual node Special Properties says this for property
> `face':
> 
>         * A cons cell of the form `(foreground-color . COLOR-NAME)' or
>           `(background-color . COLOR-NAME)'.  These elements specify
>           just the foreground color or just the background color.
> 
>           `(foreground-color . COLOR-NAME)' is equivalent to specifying
>           `(:foreground COLOR-NAME)', and likewise for the background.
> 
> It says nothing about what COLOR-NAME is. It should say that it is a
> string value that is the name of a color or an RGB hex string that
> starts with `#'. IOW, the reader needs to know that "LightBlue" and
> "#FF5C04" are possible values, but `LightBlue' (symbol) is not.

Thanks.  I added a cross-reference to the node "Color Names" which
describes the syntax of COLOR-NAME.




reply via email to

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