changeset 21576:8043d47984fd

(code_convert_region): If point in the conversion region, move it to FROM in advance.
author Kenichi Handa <handa@m17n.org>
date Wed, 15 Apr 1998 23:49:52 +0000
parents 6300c1c645da
children 027075cb9a49
files src/coding.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;