Commit 6d74c3aa authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(init_coding): New function.

(init_coding_once): Don't initialize conversion_buffer here.  It
is done in init_coding.
parent 0968d4ee
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment