From: Kenichi Handa Date: Tue, 21 Jul 1998 01:42:40 +0000 (+0000) Subject: (init_coding): New function. X-Git-Tag: emacs-20.3~289 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6d74c3aa20d748280a659e5e344eaeac2193a63e;p=emacs.git (init_coding): New function. (init_coding_once): Don't initialize conversion_buffer here. It is done in init_coding. --- diff --git a/src/coding.c b/src/coding.c index d865bd139bf..5e18c973fac 100644 --- a/src/coding.c +++ b/src/coding.c @@ -5037,6 +5037,12 @@ This function is internal use only.") /*** 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);