diff options
| author | Richard M. Stallman | 2001-12-24 16:29:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-12-24 16:29:42 +0000 |
| commit | 78263139246753c3b49a8dbf7a8ed18cf342e808 (patch) | |
| tree | 5e19cf0b8e100a2de41d9a974c14d1f5cca02acd | |
| parent | 8e0f7b5b48d1d430674b425e3bd5723a80967839 (diff) | |
| download | emacs-78263139246753c3b49a8dbf7a8ed18cf342e808.tar.gz emacs-78263139246753c3b49a8dbf7a8ed18cf342e808.zip | |
Explain using a before-string to put something in the margin.
| -rw-r--r-- | lispref/display.texi | 8 |
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 | |||
| 2356 | use that display specification along with the display specification for | 2356 | use that display specification along with the display specification for |
| 2357 | the image. | 2357 | the image. |
| 2358 | 2358 | ||
| 2359 | If you put such a display specification directly on text in the | ||
| 2360 | buffer, the specified margin display appears @emph{instead of} that | ||
| 2361 | buffer text itself. To put something in the margin @emph{in | ||
| 2362 | association with} certain buffer text without preventing or altering | ||
| 2363 | the display of that text, put a @code{before-string} property on the | ||
| 2364 | text and put the display specification on the contents of the | ||
| 2365 | before-string. | ||
| 2366 | |||
| 2359 | Before the display margins can display anything, you must give | 2367 | Before the display margins can display anything, you must give |
| 2360 | them a nonzero width. The usual way to do that is to set these | 2368 | them a nonzero width. The usual way to do that is to set these |
| 2361 | variables: | 2369 | variables: |