]> code.delx.au - gnu-emacs/commitdiff
Change conditional display property API description.
authorGerd Moellmann <gerd@gnu.org>
Thu, 30 Aug 2001 12:12:17 +0000 (12:12 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 30 Aug 2001 12:12:17 +0000 (12:12 +0000)
etc/NEWS

index f0be3bfc2b6a85206ed13dff1e61843eeb608632..4fc81dd55b62a5f213a18d7ae27ca77d0124117e 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -4664,13 +4664,16 @@ amount of raising or lowering is computed without taking account of the
 *** 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.