# HG changeset patch # User Kenichi Handa # Date 892684192 0 # Node ID 8043d47984fd563e26bac57dda9a40023f684b79 # Parent 6300c1c645da381f499a7d1a8b53b2a6e617b844 (code_convert_region): If point in the conversion region, move it to FROM in advance. diff -r 6300c1c645da -r 8043d47984fd src/coding.c --- a/src/coding.c Wed Apr 15 16:25:44 1998 +0000 +++ b/src/coding.c Wed Apr 15 23:49:52 1998 +0000 @@ -3967,6 +3967,9 @@ unsigned char *src, *dst; Lisp_Object deletion = Qnil; + if (from < PT && PT < to) + SET_PT_BOTH (from, from_byte); + if (replace) { int saved_from = from;