]> git.eshelyaron.com Git - emacs.git/commitdiff
(init_coding): New function.
authorKenichi Handa <handa@m17n.org>
Tue, 21 Jul 1998 01:42:40 +0000 (01:42 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 21 Jul 1998 01:42:40 +0000 (01:42 +0000)
(init_coding_once): Don't initialize conversion_buffer here.  It
is done in init_coding.

src/coding.c

index d865bd139bfecac5e5180647c5a4bcb10f5dd178..5e18c973fac705b7627c4cb1392cf8740ed3083b 100644 (file)
@@ -5037,6 +5037,12 @@ This function is internal use only.")
 \f
 /*** 8. Post-amble ***/
 
+void
+init_coding ()
+{
+  conversion_buffer = (char *) xmalloc (MINIMUM_CONVERSION_BUFFER_SIZE);
+}
+
 void
 init_coding_once ()
 {
@@ -5079,7 +5085,6 @@ init_coding_once ()
   iso_code_class[ISO_CODE_CSI] = ISO_control_sequence_introducer;
 
   conversion_buffer_size = MINIMUM_CONVERSION_BUFFER_SIZE;
-  conversion_buffer = (char *) xmalloc (MINIMUM_CONVERSION_BUFFER_SIZE);
 
   setup_coding_system (Qnil, &keyboard_coding);
   setup_coding_system (Qnil, &terminal_coding);