aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2002-12-09 20:24:32 +0000
committerRichard M. Stallman2002-12-09 20:24:32 +0000
commit1f57cb74f5a04066d444ecacb9d84be0cf8ebea7 (patch)
tree5236722ef8482683215f2120c21a03a284b2d537 /src
parentf4be3f89294c67a7a0846284c72dbd4982af2eb6 (diff)
downloademacs-1f57cb74f5a04066d444ecacb9d84be0cf8ebea7.tar.gz
emacs-1f57cb74f5a04066d444ecacb9d84be0cf8ebea7.zip
(Fget_buffer_create): Call Qucs_set_table_for_input as the last thing.
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c7
1 files 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. */)
411 reset_buffer (b); 411 reset_buffer (b);
412 reset_buffer_local_variables (b, 1); 412 reset_buffer_local_variables (b, 1);
413 413
414 b->mark = Fmake_marker ();
415 BUF_MARKERS (b) = Qnil;
416 b->name = name;
417
414 /* Put this in the alist of all live buffers. */ 418 /* Put this in the alist of all live buffers. */
415 XSETBUFFER (buf, b); 419 XSETBUFFER (buf, b);
416 Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buf), Qnil)); 420 Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buf), Qnil));
@@ -421,9 +425,6 @@ The value is never nil. */)
421 /* buff is on buffer-alist, so no gcpro */ 425 /* buff is on buffer-alist, so no gcpro */
422 call1 (Qucs_set_table_for_input, buf); 426 call1 (Qucs_set_table_for_input, buf);
423 427
424 b->mark = Fmake_marker ();
425 BUF_MARKERS (b) = Qnil;
426 b->name = name;
427 return buf; 428 return buf;
428} 429}
429 430