summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-12-05 21:45:01 +0200
committerEli Zaretskii <eliz@gnu.org>2022-12-05 21:45:01 +0200
commitca0da3b83dfc4a366978c9cd17db7a212a83f6d3 (patch)
tree19dc06e75f37aeae9a14a1c0f6f3d7ebb41954d0
parentec00d292ec02f34a0d879767c6737fadbe24ce20 (diff)
downloademacs-ca0da3b83dfc4a366978c9cd17db7a212a83f6d3.tar.gz
; 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)
-rw-r--r--doc/lispref/display.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 9d929950a7e..340aa400cfa 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -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