; Clarify description of display on the margins

* doc/lispref/display.texi (Display Margins): More accurate
explanation of how to show text in the display margin without
concealing buffer text.  (Bug#59841)
This commit is contained in:
Eli Zaretskii 2022-12-05 21:45:01 +02:00
parent ec00d292ec
commit ca0da3b83d

View file

@ -5467,8 +5467,9 @@ or an image descriptor.
To display something in the margin @emph{in association with}
certain buffer text, without altering or preventing the display of
that text, put a @code{before-string} property on the text and put the
margin display specification on the contents of the before-string.
that text, put on that text an overlay with a @code{before-string}
property, and put the margin display specification on the contents of
the before-string.
Note that if the string to be displayed in the margin doesn't
specify a face, its face is determined using the same rules and