emacs-devel
[Top][All Lists]
Advanced

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

Re: doc string for face-attribute-relative-p doesn't help


From: John S. Yates, Jr.
Subject: Re: doc string for face-attribute-relative-p doesn't help
Date: Mon, 26 Jun 2006 07:13:37 -0400

Miles Bader writes:

>Richard Stallman <address@hidden> writes:
>>       Return non-nil if face ATTRIBUTE VALUE is relative.
>>
>>     What does that mean? How is ATTRIBUTE VALUE a face? This is
>>     incomprehensible to me.
>>
>> I don't understand it either.  Can someone explain?
>
>It returns non-nil if the face attribute ATTRIBUTE is relative when it
>has value VALUE.  "Relative" means that the value doesn't _override_
>that attribute of an underlying face during face merging, but rather
>_modifies_ it.
>
>For most attributes the only value with that property is `unspecified';
>some attributes have other relative values (for instance, with :height,
>floating-point numbers are relative, as they specify a scale value
>rather than an absolute size).

Might "Return non-nil if face ATTRIBUTE VALUE is derived from
the inherited face." be clearer?

/john





reply via email to

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