Mercurial > emacs
comparison src/fileio.c @ 93110:6d11337f1ad8
* fileio.c (Finsert_file_contents):
* lread.c (Feval_buffer): Use BUF_TEMP_SET_PT.
* buffer.h (BUF_SET_PT): Remove. set_point_both doesn't work right
when buffer != current_buffer anyway.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 20 Mar 2008 18:13:12 +0000 |
parents | d999f30304bc |
children | 92ec903498d4 |
comparison
equal
deleted
inserted
replaced
93109:7316c5c792f4 | 93110:6d11337f1ad8 |
---|---|
4235 break; | 4235 break; |
4236 } | 4236 } |
4237 | 4237 |
4238 how_much += this; | 4238 how_much += this; |
4239 | 4239 |
4240 BUF_SET_PT (XBUFFER (conversion_buffer), | 4240 BUF_TEMP_SET_PT (XBUFFER (conversion_buffer), |
4241 BUF_Z (XBUFFER (conversion_buffer))); | 4241 BUF_Z (XBUFFER (conversion_buffer))); |
4242 decode_coding_c_string (&coding, read_buf, unprocessed + this, | 4242 decode_coding_c_string (&coding, read_buf, unprocessed + this, |
4243 conversion_buffer); | 4243 conversion_buffer); |
4244 unprocessed = coding.carryover_bytes; | 4244 unprocessed = coding.carryover_bytes; |
4245 if (coding.carryover_bytes > 0) | 4245 if (coding.carryover_bytes > 0) |
4246 bcopy (coding.carryover, read_buf, unprocessed); | 4246 bcopy (coding.carryover, read_buf, unprocessed); |