Fix documentation of the 'line-height' text property

* doc/lispref/display.texi (Line Height): More accurate
documentation of the value t of 'line-height' text property.
(Bug#62048)
This commit is contained in:
Eli Zaretskii 2023-03-08 19:29:33 +02:00
parent 971ded31c4
commit a588937094

View file

@ -2345,10 +2345,11 @@ newline. The property value can be one of several forms:
@item t @item t
If the property value is @code{t}, the newline character has no If the property value is @code{t}, the newline character has no
effect on the displayed height of the line---the visible contents effect on the displayed height of the line---the visible contents
alone determine the height. The @code{line-spacing} property, alone determine the height. The @code{line-spacing} property of the
described below, is also ignored in this case. This is useful for newline, described below, is also ignored in this case. This is
tiling small images (or image slices) without adding blank areas useful for tiling small images (or image slices) without adding blank
between the images. areas between the images.
@item (@var{height} @var{total}) @item (@var{height} @var{total})
If the property value is a list of the form shown, that adds extra If the property value is a list of the form shown, that adds extra
space @emph{below} the display line. First Emacs uses @var{height} as space @emph{below} the display line. First Emacs uses @var{height} as
@ -2409,7 +2410,9 @@ overrides line spacings specified for the frame.
property that can enlarge the default frame line spacing and the property that can enlarge the default frame line spacing and the
buffer local @code{line-spacing} variable: if its value is larger than buffer local @code{line-spacing} variable: if its value is larger than
the buffer or frame defaults, that larger value is used instead, for the buffer or frame defaults, that larger value is used instead, for
the display line ending in that newline. the display line ending in that newline (unless the newline also has
the @code{line-height} property whose value is one of the special
values which cause @code{line-spacing} to be ignored, see above).
One way or another, these mechanisms specify a Lisp value for the One way or another, these mechanisms specify a Lisp value for the
spacing of each line. The value is a height spec, and it translates spacing of each line. The value is a height spec, and it translates