aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-12-24 16:29:42 +0000
committerRichard M. Stallman2001-12-24 16:29:42 +0000
commit78263139246753c3b49a8dbf7a8ed18cf342e808 (patch)
tree5e19cf0b8e100a2de41d9a974c14d1f5cca02acd
parent8e0f7b5b48d1d430674b425e3bd5723a80967839 (diff)
downloademacs-78263139246753c3b49a8dbf7a8ed18cf342e808.tar.gz
emacs-78263139246753c3b49a8dbf7a8ed18cf342e808.zip
Explain using a before-string to put something in the margin.
-rw-r--r--lispref/display.texi8
1 files changed, 8 insertions, 0 deletions
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
2356use that display specification along with the display specification for 2356use that display specification along with the display specification for
2357the image. 2357the image.
2358 2358
2359 If you put such a display specification directly on text in the
2360buffer, the specified margin display appears @emph{instead of} that
2361buffer text itself. To put something in the margin @emph{in
2362association with} certain buffer text without preventing or altering
2363the display of that text, put a @code{before-string} property on the
2364text and put the display specification on the contents of the
2365before-string.
2366
2359 Before the display margins can display anything, you must give 2367 Before the display margins can display anything, you must give
2360them a nonzero width. The usual way to do that is to set these 2368them a nonzero width. The usual way to do that is to set these
2361variables: 2369variables: