changeset 48776:67a496befc04

(Fget_buffer_create): Call Qucs_set_table_for_input as the last thing.
author Richard M. Stallman <rms@gnu.org>
date Mon, 09 Dec 2002 20:24:32 +0000
parents 25ef28e528f4
children f6687dde33ff
files src/buffer.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }