changeset 85296:86224da3fd17

(Fmake_indirect_buffer): Set the buffer's tag.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 14 Oct 2007 19:45:17 +0000
parents 42dbc38be5d2
children 01f68ac2fb98
files src/ChangeLog src/buffer.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <monnier@iro.umontreal.ca>
+
+	* buffer.c (Fmake_indirect_buffer): Set the buffer's tag.
+
 2007-10-14  Juanma Barranquero  <lekktu@gmail.com>
 
 	* eval.c (do_autoload): Don't save autoloads.
--- 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;