Mercurial > emacs
comparison src/fileio.c @ 18447:b7e01783be08
(Finsert_file_contents): Pass new arg to prepare_to_modify_buffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 25 Jun 1997 06:51:08 +0000 |
parents | 8208c168c5cc |
children | d4c11d4de7f4 |
comparison
equal
deleted
inserted
replaced
18446:59d2f2a0a36e | 18447:b7e01783be08 |
---|---|
3494 else | 3494 else |
3495 /* For a special file, all we can do is guess. */ | 3495 /* For a special file, all we can do is guess. */ |
3496 total = READ_BUF_SIZE; | 3496 total = READ_BUF_SIZE; |
3497 | 3497 |
3498 if (NILP (visit) && total > 0) | 3498 if (NILP (visit) && total > 0) |
3499 prepare_to_modify_buffer (PT, PT); | 3499 prepare_to_modify_buffer (PT, PT, NULL); |
3500 | 3500 |
3501 move_gap (PT); | 3501 move_gap (PT); |
3502 if (GAP_SIZE < total) | 3502 if (GAP_SIZE < total) |
3503 make_gap (total - GAP_SIZE); | 3503 make_gap (total - GAP_SIZE); |
3504 | 3504 |