aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2020-09-19 22:22:08 +0300
committerEli Zaretskii2020-09-19 22:22:08 +0300
commit082d8a21b1751d7e5e5ca5cfcd6112da23f928ff (patch)
tree03369a58a62a51f19ea6cca207ce9e64fa0911a0
parent5b23393bcc0293c61eedd21690a4024efb25d955 (diff)
downloademacs-082d8a21b1751d7e5e5ca5cfcd6112da23f928ff.tar.gz
emacs-082d8a21b1751d7e5e5ca5cfcd6112da23f928ff.zip
Minor copyedits in 'line-height' documentation
* doc/lispref/display.texi (Line Height): Describe the possible values of the 'line-height' property in a more consistent format.
-rw-r--r--doc/lispref/display.texi21
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 2ef27c00b8e..6f0e8c1ad2c 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2188,21 +2188,24 @@ actual line height can never be less than the default.
2188@kindex line-height @r{(text property)} 2188@kindex line-height @r{(text property)}
2189 A newline can have a @code{line-height} text or overlay property 2189 A newline can have a @code{line-height} text or overlay property
2190that controls the total height of the display line ending in that 2190that controls the total height of the display line ending in that
2191newline. 2191newline. The property value can be one of several forms:
2192 2192
2193 If the property value is @code{t}, the newline character has no 2193@table @code
2194@item t
2195If the property value is @code{t}, the newline character has no
2194effect on the displayed height of the line---the visible contents 2196effect on the displayed height of the line---the visible contents
2195alone determine the height. The @code{line-spacing} property, 2197alone determine the height. The @code{line-spacing} property,
2196described below, is also ignored in this case. This is useful for 2198described below, is also ignored in this case. This is useful for
2197tiling small images (or image slices) without adding blank areas 2199tiling small images (or image slices) without adding blank areas
2198between the images. 2200between the images.
2199 2201@item (@var{height} @var{total})
2200 If the property value is a list of the form @code{(@var{height} 2202If the property value is a list of the form shown, that adds extra
2201@var{total})}, that adds extra space @emph{below} the display line. 2203space @emph{below} the display line. First Emacs uses @var{height} as
2202First Emacs uses @var{height} as a height spec to control extra space 2204a height spec to control extra space @emph{above} the line; then it
2203@emph{above} the line; then it adds enough space @emph{below} the line 2205adds enough space @emph{below} the line to bring the total line height
2204to bring the total line height up to @var{total}. In this case, any 2206up to @var{total}. In this case, any value of @code{line-spacing}
2205value of @code{line-spacing} property for the newline is ignored. 2207property for the newline is ignored.
2208@end table
2206 2209
2207@cindex height spec 2210@cindex height spec
2208 Any other kind of property value is a height spec, which translates 2211 Any other kind of property value is a height spec, which translates