Mercurial > emacs
changeset 45981:e513f55424f6
(detect_eol): Preserve coding->cmp_data.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 24 Jun 2002 00:35:59 +0000 |
parents | 1f38d08f324b |
children | 864289635b41 |
files | src/coding.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Mon Jun 24 00:35:37 2002 +0000 +++ b/src/coding.c Mon Jun 24 00:35:59 2002 +0000 @@ -4317,11 +4317,13 @@ { 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; } }