comparison src/xfaces.c @ 71576:b8678c550150

(Fface_attribute_relative_p): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Mon, 03 Jul 2006 15:42:10 +0000
parents 7ca4cd6f07f2
children 085d9056841a 138ce2701550
comparison
equal deleted inserted replaced
71575:37f7b9440897 71576:b8678c550150
4797 4797
4798 4798
4799 DEFUN ("face-attribute-relative-p", Fface_attribute_relative_p, 4799 DEFUN ("face-attribute-relative-p", Fface_attribute_relative_p,
4800 Sface_attribute_relative_p, 4800 Sface_attribute_relative_p,
4801 2, 2, 0, 4801 2, 2, 0,
4802 doc: /* Return non-nil if face ATTRIBUTE VALUE is relative. */) 4802 doc: /* Check whether a face attribute value is relative.
4803 Specifically, this function returns t if the attribute ATTRIBUTE
4804 with the value VALUE is relative.
4805
4806 A relative value is one that doesn't entirely override whatever is
4807 inherited from another face. For most possible attributes,
4808 the only relative value that users see is `unspecified'.
4809 However, for :height, floating point values are also relative. */)
4803 (attribute, value) 4810 (attribute, value)
4804 Lisp_Object attribute, value; 4811 Lisp_Object attribute, value;
4805 { 4812 {
4806 if (EQ (value, Qunspecified) || (EQ (value, Qignore_defface))) 4813 if (EQ (value, Qunspecified) || (EQ (value, Qignore_defface)))
4807 return Qt; 4814 return Qt;