From: Richard M. Stallman Date: Mon, 9 Dec 2002 20:24:32 +0000 (+0000) Subject: (Fget_buffer_create): Call Qucs_set_table_for_input as the last thing. X-Git-Tag: ttn-vms-21-2-B4~12064 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1f57cb74f5a04066d444ecacb9d84be0cf8ebea7;p=emacs.git (Fget_buffer_create): Call Qucs_set_table_for_input as the last thing. --- diff --git a/src/buffer.c b/src/buffer.c index fb776ae77ee..9836ecc4db0 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -411,6 +411,10 @@ The value is never nil. */) 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 @@ The value is never nil. */) /* 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; }