# HG changeset patch # User Richard M. Stallman # Date 1039465472 0 # Node ID 67a496befc0471e8be88a2e8c8807f695d176f06 # Parent 25ef28e528f4bf6ee317880dfdaa46ccd089f3da (Fget_buffer_create): Call Qucs_set_table_for_input as the last thing. diff -r 25ef28e528f4 -r 67a496befc04 src/buffer.c --- a/src/buffer.c Mon Dec 09 20:23:35 2002 +0000 +++ b/src/buffer.c Mon Dec 09 20:24:32 2002 +0000 @@ -411,6 +411,10 @@ reset_buffer (b); reset_buffer_local_variables (b, 1); + b->mark = Fmake_marker (); + BUF_MARKERS (b) = Qnil; + b->name = name; + /* Put this in the alist of all live buffers. */ XSETBUFFER (buf, b); Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buf), Qnil)); @@ -421,9 +425,6 @@ /* buff is on buffer-alist, so no gcpro */ call1 (Qucs_set_table_for_input, buf); - b->mark = Fmake_marker (); - BUF_MARKERS (b) = Qnil; - b->name = name; return buf; }