partially, be sure to set point before the inserted characters.
+2006-02-24 Kenichi Handa <handa@m17n.org>
+
+ * fileio.c (Finsert_file_contents): When a text is replaced
+ partially, be sure to set point before the inserted characters.
+
2006-02-23 Zhang Wei <id.brep@gmail.com> (tiny change)
* xfns.c (Fx_file_dialog): Return a decoded file name.
/* Set `inserted' to the number of inserted characters. */
inserted = PT - temp;
+ /* Set point before the inserted characters. */
+ SET_PT_BOTH (temp, same_at_start);
xfree (conversion_buffer);
emacs_close (fd);