diff lispref/display.texi @ 42297:c4f9d48801a8

Explain using a before-string to put something in the margin.
author Richard M. Stallman <rms@gnu.org>
date Mon, 24 Dec 2001 16:29:42 +0000
parents 20c1f73d3db3
children fe0b84badbb1
line wrap: on
line diff
--- a/lispref/display.texi	Mon Dec 24 16:28:22 2001 +0000
+++ b/lispref/display.texi	Mon Dec 24 16:29:42 2001 +0000
@@ -2356,6 +2356,14 @@
 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: