]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fget_buffer_create): Call Qucs_set_table_for_input as the last thing.
authorRichard M. Stallman <rms@gnu.org>
Mon, 9 Dec 2002 20:24:32 +0000 (20:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 9 Dec 2002 20:24:32 +0000 (20:24 +0000)
src/buffer.c

index fb776ae77ee129d868c69cac89470329219ed65d..9836ecc4db04ec28fd11fdcae9ea44646e8460bb 100644 (file)
@@ -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;
 }