Commit 2aa46d6c authored by Chong Yidong's avatar Chong Yidong
Browse files

* src/buffer.c (Fmake_indirect_buffer): Fix incorrect assertion.

parent 70436396
2011-03-14 Chong Yidong <cyd@stupidchicken.com>
* buffer.c (Fmake_indirect_buffer): Fix incorrect assertion.
2011-03-13 Chong Yidong <cyd@stupidchicken.com>
 
* buffer.h (BUF_BEGV, BUF_BEGV_BYTE, BUF_ZV, BUF_ZV_BYTE, BUF_PT)
......@@ -611,8 +611,8 @@ CLONE nil means the indirect buffer's state is reset to default values. */)
/* Make sure the base buffer has markers for its narrowing. */
if (NILP (BVAR (b->base_buffer, pt_marker)))
{
eassert (NILP (BVAR (b, begv_marker)));
eassert (NILP (BVAR (b, zv_marker)));
eassert (NILP (BVAR (b->base_buffer, begv_marker)));
eassert (NILP (BVAR (b->base_buffer, zv_marker)));
BVAR (b->base_buffer, pt_marker) = Fmake_marker ();
set_marker_both (BVAR (b->base_buffer, pt_marker), base_buffer,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment