Mercurial > emacs
comparison lispref/display.texi @ 39032:ed864621a68e
Conditional Display): Adjust to API change.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 30 Aug 2001 12:13:54 +0000 |
parents | 9e543d761717 |
children | cb857398a0e0 |
comparison
equal
deleted
inserted
replaced
39031:f5db16d9b787 | 39032:ed864621a68e |
---|---|
2391 | 2391 |
2392 You can make any display specification conditional. To do that, | 2392 You can make any display specification conditional. To do that, |
2393 package it in another list of the form @code{(when @var{condition} . | 2393 package it in another list of the form @code{(when @var{condition} . |
2394 @var{spec})}. Then the specification @var{spec} applies only when | 2394 @var{spec})}. Then the specification @var{spec} applies only when |
2395 @var{condition} evaluates to a non-@code{nil} value. During the | 2395 @var{condition} evaluates to a non-@code{nil} value. During the |
2396 evaluation, point is temporarily set at the end position of the text | 2396 evaluation, @code{object} is bound to the string or buffer having the |
2397 having this conditional display specification. | 2397 conditional @code{display} property. @code{position} and |
2398 @code{buffer-position} are bound to the position within @code{object} | |
2399 and the buffer position where the @code{display} property was found, | |
2400 respectively. Both positions can be different when @code{object} is a | |
2401 string. | |
2398 | 2402 |
2399 @node Images | 2403 @node Images |
2400 @section Images | 2404 @section Images |
2401 @cindex images in buffers | 2405 @cindex images in buffers |
2402 | 2406 |