diff options
| author | Ken Raeburn | 2002-06-03 18:03:26 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-06-03 18:03:26 +0000 |
| commit | 504322ad237edd663515f2157614e6d265924018 (patch) | |
| tree | 020e147783d63b992cfb2a078f2734241fef950b /src/buffer.c | |
| parent | 4738677d0b75e48874d436022d32441684e2d6e6 (diff) | |
| download | emacs-504322ad237edd663515f2157614e6d265924018.tar.gz emacs-504322ad237edd663515f2157614e6d265924018.zip | |
* buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 39d8d957a75..103715c80c8 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -3424,7 +3424,8 @@ fix_overlays_before (bp, prev, pos) | |||
| 3424 | Lisp_Object found = tail; | 3424 | Lisp_Object found = tail; |
| 3425 | 3425 | ||
| 3426 | /* Unlink the found overlay. */ | 3426 | /* Unlink the found overlay. */ |
| 3427 | XSETCDR (parent, XCDR (found)); | 3427 | tail = XCDR (found); |
| 3428 | XSETCDR (parent, tail); | ||
| 3428 | /* Move an overlay at RIGHT_PLACE to the next of the found one, | 3429 | /* Move an overlay at RIGHT_PLACE to the next of the found one, |
| 3429 | and link it into the right place. */ | 3430 | and link it into the right place. */ |
| 3430 | if (NILP (right_pair)) | 3431 | if (NILP (right_pair)) |