From: Kenichi Handa Date: Mon, 24 Jun 2002 00:35:59 +0000 (+0000) Subject: (detect_eol): Preserve coding->cmp_data. X-Git-Tag: ttn-vms-21-2-B4~14476 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1cd6b64ce8b6a1dc3b3d1f2362570db4b7ed9e9b;p=emacs.git (detect_eol): Preserve coding->cmp_data. --- diff --git a/src/coding.c b/src/coding.c index a7b1ce4f71e..25bf5f9ad93 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4317,11 +4317,13 @@ detect_eol (coding, src, src_bytes) { int src_multibyte = coding->src_multibyte; int dst_multibyte = coding->dst_multibyte; + struct composition_data *cmp_data = coding->cmp_data; setup_coding_system (XVECTOR (val)->contents[eol_type], coding); coding->src_multibyte = src_multibyte; coding->dst_multibyte = dst_multibyte; coding->heading_ascii = skip; + coding->cmp_data = cmp_data; } }