1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

(Finsert_file_contents): Be sure set coding-system of

the buffer in case of replace.
This commit is contained in:
Kenichi Handa 2009-11-05 04:16:04 +00:00
parent 775adc5143
commit f6a074209a
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-11-05 Kenichi Handa <handa@m17n.org>
* fileio.c (Finsert_file_contents): Be sure set coding-system of
the buffer in case of replace.
2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
* puresize.h (BASE_PURESIZE): Increase to 1620000.

View file

@ -3713,6 +3713,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
}
coding_system = CODING_ID_NAME (coding.id);
set_coding_system = 1;
decoded = BUF_BEG_ADDR (XBUFFER (conversion_buffer));
inserted = (BUF_Z_BYTE (XBUFFER (conversion_buffer))
- BUF_BEG_BYTE (XBUFFER (conversion_buffer)));