diff options
| author | Richard M. Stallman | 2005-10-23 18:18:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-10-23 18:18:11 +0000 |
| commit | 751fc7d9089a9c050ce8fd11a8f10179391fb15b (patch) | |
| tree | dde2632ec9f627ca33ddcad5f23263faa9e99e49 | |
| parent | 00301578bd268af4a4f6abada57689a7cbe2cf83 (diff) | |
| download | emacs-751fc7d9089a9c050ce8fd11a8f10179391fb15b.tar.gz emacs-751fc7d9089a9c050ce8fd11a8f10179391fb15b.zip | |
(Overlay Arrow): Clarify about local bindings of overlay-arrow-position.
| -rw-r--r-- | lispref/display.texi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lispref/display.texi b/lispref/display.texi index ba27b900cdb..75a64924516 100644 --- a/lispref/display.texi +++ b/lispref/display.texi | |||
| @@ -2922,9 +2922,12 @@ otherwise appear. Since the arrow is usually short, and the line | |||
| 2922 | usually begins with indentation, normally nothing significant is | 2922 | usually begins with indentation, normally nothing significant is |
| 2923 | overwritten. | 2923 | overwritten. |
| 2924 | 2924 | ||
| 2925 | The overlay string is displayed only in the buffer that this marker | 2925 | The overlay-arrow string is displayed in any given buffer if the value |
| 2926 | points into. Thus, only one buffer can have an overlay arrow at any | 2926 | of @code{overlay-arrow-position} in that buffer points into that |
| 2927 | given time. | 2927 | buffer. Thus, it works to can display multiple overlay arrow strings |
| 2928 | by creating buffer-local bindings of @code{overlay-arrow-position}. | ||
| 2929 | However, it is usually cleaner to use | ||
| 2930 | @code{overlay-arrow-variable-list} to achieve this result. | ||
| 2928 | @c !!! overlay-arrow-position: but the overlay string may remain in the display | 2931 | @c !!! overlay-arrow-position: but the overlay string may remain in the display |
| 2929 | @c of some other buffer until an update is required. This should be fixed | 2932 | @c of some other buffer until an update is required. This should be fixed |
| 2930 | @c now. Is it? | 2933 | @c now. Is it? |