# HG changeset patch # User Stefan Monnier # Date 1192391117 0 # Node ID 86224da3fd17613aa5b113aafe8fff72eb293916 # Parent 42dbc38be5d2455516fd1fbac1cac0c6000827e7 (Fmake_indirect_buffer): Set the buffer's tag. diff -r 42dbc38be5d2 -r 86224da3fd17 src/ChangeLog --- a/src/ChangeLog Sun Oct 14 18:53:16 2007 +0000 +++ b/src/ChangeLog Sun Oct 14 19:45:17 2007 +0000 @@ -1,3 +1,7 @@ +2007-10-14 Stefan Monnier + + * buffer.c (Fmake_indirect_buffer): Set the buffer's tag. + 2007-10-14 Juanma Barranquero * eval.c (do_autoload): Don't save autoloads. diff -r 42dbc38be5d2 -r 86224da3fd17 src/buffer.c --- a/src/buffer.c Sun Oct 14 18:53:16 2007 +0000 +++ b/src/buffer.c Sun Oct 14 19:45:17 2007 +0000 @@ -568,6 +568,7 @@ b = (struct buffer *) allocate_buffer (); b->size = sizeof (struct buffer) / sizeof (EMACS_INT); + XSETPVECTYPE (b, PVEC_BUFFER); if (XBUFFER (base_buffer)->base_buffer) b->base_buffer = XBUFFER (base_buffer)->base_buffer;