diff options
| author | Lars Magne Ingebrigtsen | 2011-07-10 16:32:19 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-07-10 16:32:19 +0200 |
| commit | 568f7b7950c3df8c27a1ddd2c9318cc495c2a28c (patch) | |
| tree | e2f35aafb533b1c154e3bd4d60ad9f9e1c34b22b | |
| parent | 3329e6e390caf3443ffa486b3e39dd71cafe3a29 (diff) | |
| download | emacs-568f7b7950c3df8c27a1ddd2c9318cc495c2a28c.tar.gz emacs-568f7b7950c3df8c27a1ddd2c9318cc495c2a28c.zip | |
(Insertion): Clarify marker movements.
Text from Drew Adams.
Fixes: debbugs:1651
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 15 |
2 files changed, 12 insertions, 8 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 7e8dac0cb27..10c13bc2835 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * text.texi (Insertion): Clarify marker movements (bug#1651). | ||
| 4 | Text from Drew Adams. | ||
| 5 | |||
| 1 | 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * text.texi (Special Properties): Clarify the format of `face' | 8 | * text.texi (Special Properties): Clarify the format of `face' |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 2d487352243..b91afb044f0 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -364,14 +364,13 @@ after point. Some insertion functions leave point before the inserted | |||
| 364 | text, while other functions leave it after. We call the former | 364 | text, while other functions leave it after. We call the former |
| 365 | insertion @dfn{after point} and the latter insertion @dfn{before point}. | 365 | insertion @dfn{after point} and the latter insertion @dfn{before point}. |
| 366 | 366 | ||
| 367 | Insertion relocates markers that point at positions after the | 367 | Insertion moves markers located at positions after the insertion |
| 368 | insertion point, so that they stay with the surrounding text | 368 | point, so that they stay with the surrounding text (@pxref{Markers}). |
| 369 | (@pxref{Markers}). When a marker points at the place of insertion, | 369 | When a marker points at the place of insertion, insertion may or may |
| 370 | insertion may or may not relocate the marker, depending on the marker's | 370 | not relocate the marker, depending on the marker's insertion type |
| 371 | insertion type (@pxref{Marker Insertion Types}). Certain special | 371 | (@pxref{Marker Insertion Types}). Certain special functions such as |
| 372 | functions such as @code{insert-before-markers} relocate all such markers | 372 | @code{insert-before-markers} relocate all such markers to point after |
| 373 | to point after the inserted text, regardless of the markers' insertion | 373 | the inserted text, regardless of the markers' insertion type. |
| 374 | type. | ||
| 375 | 374 | ||
| 376 | Insertion functions signal an error if the current buffer is | 375 | Insertion functions signal an error if the current buffer is |
| 377 | read-only or if they insert within read-only text. | 376 | read-only or if they insert within read-only text. |