Mercurial > emacs
diff src/intervals.c @ 4223:b044f6d3c4cb
(graft_intervals_into_buffer): When TREE is null,
pass buffer as 2nd arg to reproduce_tree.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Thu, 22 Jul 1993 08:06:55 +0000 |
| parents | 84ea8ebc9858 |
| children | 23fe7f6c9ae4 |
line wrap: on
line diff
--- a/src/intervals.c Thu Jul 22 07:17:28 1993 +0000 +++ b/src/intervals.c Thu Jul 22 08:06:55 1993 +0000 @@ -1114,7 +1114,9 @@ simply copy over the interval structure. */ if ((BUF_Z (buffer) - BUF_BEG (buffer)) == TOTAL_LENGTH (source)) { - buffer->intervals = reproduce_tree (source, tree->parent); + Lisp_Object buf; + XSET (buf, Lisp_Buffer, buffer); + buffer->intervals = reproduce_tree (source, buf); /* Explicitly free the old tree here. */ return;
