diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index 05bd129976f..e9ff8f492ba 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -328,7 +328,7 @@ even if it is dead. The return value is never nil. */) | |||
| 328 | alloc_buffer_text (b, BUF_GAP_SIZE (b) + 1); | 328 | alloc_buffer_text (b, BUF_GAP_SIZE (b) + 1); |
| 329 | UNBLOCK_INPUT; | 329 | UNBLOCK_INPUT; |
| 330 | if (! BUF_BEG_ADDR (b)) | 330 | if (! BUF_BEG_ADDR (b)) |
| 331 | buffer_memory_full (); | 331 | buffer_memory_full (BUF_GAP_SIZE (b) + 1); |
| 332 | 332 | ||
| 333 | b->pt = BEG; | 333 | b->pt = BEG; |
| 334 | b->begv = BEG; | 334 | b->begv = BEG; |
| @@ -4892,7 +4892,7 @@ alloc_buffer_text (struct buffer *b, size_t nbytes) | |||
| 4892 | if (p == NULL) | 4892 | if (p == NULL) |
| 4893 | { | 4893 | { |
| 4894 | UNBLOCK_INPUT; | 4894 | UNBLOCK_INPUT; |
| 4895 | memory_full (); | 4895 | memory_full (nbytes); |
| 4896 | } | 4896 | } |
| 4897 | 4897 | ||
| 4898 | b->text->beg = (unsigned char *) p; | 4898 | b->text->beg = (unsigned char *) p; |
| @@ -4920,7 +4920,7 @@ enlarge_buffer_text (struct buffer *b, EMACS_INT delta) | |||
| 4920 | if (p == NULL) | 4920 | if (p == NULL) |
| 4921 | { | 4921 | { |
| 4922 | UNBLOCK_INPUT; | 4922 | UNBLOCK_INPUT; |
| 4923 | memory_full (); | 4923 | memory_full (nbytes); |
| 4924 | } | 4924 | } |
| 4925 | 4925 | ||
| 4926 | BUF_BEG_ADDR (b) = (unsigned char *) p; | 4926 | BUF_BEG_ADDR (b) = (unsigned char *) p; |