# HG changeset patch # User Gerd Moellmann # Date 999173537 0 # Node ID f5db16d9b7874b555b58a691e3ae02a16fb41d37 # Parent 55864f6da72888b9d5a9c6180a4d82b88786c37e Change conditional display property API description. diff -r 55864f6da728 -r f5db16d9b787 etc/NEWS --- a/etc/NEWS Thu Aug 30 12:04:56 2001 +0000 +++ b/etc/NEWS Thu Aug 30 12:12:17 2001 +0000 @@ -4664,13 +4664,16 @@ *** Conditional display properties All display specifications can be conditionalized. If a specification -has the form `(:when CONDITION . SPEC)', the specification SPEC -applies only when CONDITION yields a non-nil value when evaluated. -During evaluation, point is temporarily set to the end position of -the text having the `display' property. +has the form `(when CONDITION . SPEC)', the specification SPEC applies +only when CONDITION yields a non-nil value when evaluated. During the +evaluation, `object' is bound to the string or buffer having the +conditional display property; `position' and `buffer-position' are +bound to the position within `object' and the buffer position where +the display property was found, respectively. Both positions can be +different when object is a string. The normal specification consisting of SPEC only is equivalent to -`(:when t SPEC)'. +`(when t . SPEC)'. +++ ** New menu separator types.