From 78263139246753c3b49a8dbf7a8ed18cf342e808 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 24 Dec 2001 16:29:42 +0000 Subject: [PATCH] Explain using a before-string to put something in the margin. --- lispref/display.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lispref/display.texi b/lispref/display.texi index 13cea17b514..afdbc347d61 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -2356,6 +2356,14 @@ display specification of the form @code{(margin right-margin)} or use that display specification along with the display specification for the image. + If you put such a display specification directly on text in the +buffer, the specified margin display appears @emph{instead of} that +buffer text itself. To put something in the margin @emph{in +association with} certain buffer text without preventing or altering +the display of that text, put a @code{before-string} property on the +text and put the display specification on the contents of the +before-string. + Before the display margins can display anything, you must give them a nonzero width. The usual way to do that is to set these variables: -- 2.39.5