comparison lispref/display.texi @ 69849:85e6a1c82a54

(Other Display Specs): Arrange a @code{DOTTED-LIST} to be on one line to help makeinfo not render two spaces after the dot.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Fri, 07 Apr 2006 22:10:37 +0000
parents 1d437dedbd3a
children cb9bbccfa10f 65ca8fb66a0d
comparison
equal deleted inserted replaced
69848:a80d40a59be6 69849:85e6a1c82a54
3498 If the text also has a @code{height} display specification, that does 3498 If the text also has a @code{height} display specification, that does
3499 not affect the amount of raising or lowering, which is based on the 3499 not affect the amount of raising or lowering, which is based on the
3500 faces used for the text. 3500 faces used for the text.
3501 @end table 3501 @end table
3502 3502
3503 @c We put all the `@code{(when ...)}' on one line to encourage
3504 @c makeinfo's end-of-sentence heuristics to DTRT. Previously, the dot
3505 @c was at eol; the info file ended up w/ two spaces rendered after it.
3503 You can make any display specification conditional. To do that, 3506 You can make any display specification conditional. To do that,
3504 package it in another list of the form @code{(when @var{condition} . 3507 package it in another list of the form
3505 @var{spec})}. Then the specification @var{spec} applies only when 3508 @code{(when @var{condition} . @var{spec})}.
3509 Then the specification @var{spec} applies only when
3506 @var{condition} evaluates to a non-@code{nil} value. During the 3510 @var{condition} evaluates to a non-@code{nil} value. During the
3507 evaluation, @code{object} is bound to the string or buffer having the 3511 evaluation, @code{object} is bound to the string or buffer having the
3508 conditional @code{display} property. @code{position} and 3512 conditional @code{display} property. @code{position} and
3509 @code{buffer-position} are bound to the position within @code{object} 3513 @code{buffer-position} are bound to the position within @code{object}
3510 and the buffer position where the @code{display} property was found, 3514 and the buffer position where the @code{display} property was found,