(Fmake_indirect_buffer): Set the buffer's tag.

This commit is contained in:
Stefan Monnier 2007-10-14 19:45:17 +00:00
parent 219ccf1b79
commit b5a40ee7a9
2 changed files with 5 additions and 0 deletions

View file

@ -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.

View file

@ -568,6 +568,7 @@ CLONE nil means the indirect buffer's state is reset to default values. */)
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;