From 1f57cb74f5a04066d444ecacb9d84be0cf8ebea7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 9 Dec 2002 20:24:32 +0000 Subject: [PATCH] (Fget_buffer_create): Call Qucs_set_table_for_input as the last thing. --- src/buffer.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; } -- 2.39.5