Mercurial > emacs
changeset 30911:c1de0fc3a34b
(Fget_buffer_create, Fmake_indirect_buffer): Avoid
INITIALIZE_INTERVAL.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 17 Aug 2000 13:51:37 +0000 |
parents | 3fb31847c03a |
children | a524f6c09fe0 |
files | src/buffer.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Thu Aug 17 13:48:48 2000 +0000 +++ b/src/buffer.c Thu Aug 17 13:51:37 2000 +0000 @@ -385,7 +385,7 @@ b->zv_marker = Qnil; name = Fcopy_sequence (name); - INITIALIZE_INTERVAL (XSTRING (name), NULL_INTERVAL); + XSTRING (name)->intervals = NULL_INTERVAL; b->name = name; if (XSTRING (name)->data[0] != ' ') @@ -501,7 +501,7 @@ all_buffers = b; name = Fcopy_sequence (name); - INITIALIZE_INTERVAL (XSTRING (name), NULL_INTERVAL); + XSTRING (name)->intervals = NULL_INTERVAL; b->name = name; reset_buffer (b); @@ -3517,6 +3517,7 @@ CHECK_NUMBER_COERCE_MARKER (pos, 0); len = 10; + /* We can't use alloca here because overlays_at can call xrealloc. */ overlay_vec = (Lisp_Object *) xmalloc (len * sizeof (Lisp_Object)); /* Put all the overlays we want in a vector in overlay_vec.