From 4f815b29c584c40e693994eb4420407183af278b Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Fri, 7 Apr 2006 22:11:55 +0000 Subject: [PATCH] (Other Display Specs): Arrange a @code{DOTTED-LIST} to be on one line to help makeinfo not render two spaces after the dot. --- lispref/ChangeLog | 5 +++++ lispref/display.texi | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 7e76bd8b505..511e011bcd9 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,8 @@ +2006-04-08 Thien-Thi Nguyen + + * display.texi (Other Display Specs): Arrange a @code{DOTTED-LIST} to + be on one line to help makeinfo not render two spaces after the dot. + 2006-04-07 Reiner Steib * strings.texi (Predicates for Strings): Add string-or-null-p. diff --git a/lispref/display.texi b/lispref/display.texi index d9b5a9e5f0b..60084f98e8b 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -3500,9 +3500,13 @@ not affect the amount of raising or lowering, which is based on the faces used for the text. @end table +@c We put all the `@code{(when ...)}' on one line to encourage +@c makeinfo's end-of-sentence heuristics to DTRT. Previously, the dot +@c was at eol; the info file ended up w/ two spaces rendered after it. You can make any display specification conditional. To do that, -package it in another list of the form @code{(when @var{condition} . -@var{spec})}. Then the specification @var{spec} applies only when +package it in another list of the form +@code{(when @var{condition} . @var{spec})}. +Then the specification @var{spec} applies only when @var{condition} evaluates to a non-@code{nil} value. During the evaluation, @code{object} is bound to the string or buffer having the conditional @code{display} property. @code{position} and -- 2.39.2