Mercurial > emacs
changeset 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 | 6a8d48a6ac10 |
children | 6cb1cfba6500 |
files | src/intervals.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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;