summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-10-14 19:45:17 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-10-14 19:45:17 +0000
commitb5a40ee7a9ac0ee9948a923778b5ae9f110e8c41 (patch)
tree3e2f8e9b70ca20d279d3e996cf3253d75bcb1d8a /src/buffer.c
parent219ccf1b799f339600388c533ed5efdb37e49cdb (diff)
downloademacs-b5a40ee7a9ac0ee9948a923778b5ae9f110e8c41.tar.gz
(Fmake_indirect_buffer): Set the buffer's tag.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 289cd078793..740f9fe53d6 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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;