aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2007-10-14 19:45:17 +0000
committerStefan Monnier <[email protected]>2007-10-14 19:45:17 +0000
commitb5a40ee7a9ac0ee9948a923778b5ae9f110e8c41 (patch)
tree3e2f8e9b70ca20d279d3e996cf3253d75bcb1d8a /src
parent219ccf1b799f339600388c533ed5efdb37e49cdb (diff)
(Fmake_indirect_buffer): Set the buffer's tag.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/buffer.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 12e0a492bd..bbbaa2b368 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-14 Stefan Monnier <[email protected]>
+
+ * buffer.c (Fmake_indirect_buffer): Set the buffer's tag.
+
2007-10-14 Juanma Barranquero <[email protected]>
* eval.c (do_autoload): Don't save autoloads.
diff --git a/src/buffer.c b/src/buffer.c
index 289cd07879..740f9fe53d 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;