diff options
| author | Gerd Moellmann | 1999-10-17 12:53:14 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-10-17 12:53:14 +0000 |
| commit | c0d9a0c30ce4d596e102bd4b7b971540a51b846b (patch) | |
| tree | 60a27f6f70de98c6bb9504180fe358b5801cba79 /src/buffer.c | |
| parent | 17cca868c5620892c0b597c285ba74ed1df6134f (diff) | |
| download | emacs-c0d9a0c30ce4d596e102bd4b7b971540a51b846b.tar.gz emacs-c0d9a0c30ce4d596e102bd4b7b971540a51b846b.zip | |
(Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer):
Don't initialize prompt_end_charpos field.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/buffer.c b/src/buffer.c index 0fc6bb4666e..6ab4200b750 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -373,7 +373,6 @@ The value is never nil.") | |||
| 373 | b->newline_cache = 0; | 373 | b->newline_cache = 0; |
| 374 | b->width_run_cache = 0; | 374 | b->width_run_cache = 0; |
| 375 | b->width_table = Qnil; | 375 | b->width_table = Qnil; |
| 376 | b->prompt_end_charpos = Qnil; | ||
| 377 | b->prevent_redisplay_optimizations_p = 1; | 376 | b->prevent_redisplay_optimizations_p = 1; |
| 378 | 377 | ||
| 379 | /* Put this on the chain of all buffers including killed ones. */ | 378 | /* Put this on the chain of all buffers including killed ones. */ |
| @@ -453,7 +452,6 @@ NAME should be a string which is not the name of an existing buffer.") | |||
| 453 | b->newline_cache = 0; | 452 | b->newline_cache = 0; |
| 454 | b->width_run_cache = 0; | 453 | b->width_run_cache = 0; |
| 455 | b->width_table = Qnil; | 454 | b->width_table = Qnil; |
| 456 | b->prompt_end_charpos = Qnil; | ||
| 457 | 455 | ||
| 458 | /* Put this on the chain of all buffers including killed ones. */ | 456 | /* Put this on the chain of all buffers including killed ones. */ |
| 459 | b->next = all_buffers; | 457 | b->next = all_buffers; |
| @@ -1222,7 +1220,6 @@ with SIGHUP.") | |||
| 1222 | b->width_run_cache = 0; | 1220 | b->width_run_cache = 0; |
| 1223 | } | 1221 | } |
| 1224 | b->width_table = Qnil; | 1222 | b->width_table = Qnil; |
| 1225 | b->prompt_end_charpos = Qnil; | ||
| 1226 | UNBLOCK_INPUT; | 1223 | UNBLOCK_INPUT; |
| 1227 | b->undo_list = Qnil; | 1224 | b->undo_list = Qnil; |
| 1228 | 1225 | ||
| @@ -1704,11 +1701,8 @@ so the buffer is truly empty after this.") | |||
| 1704 | () | 1701 | () |
| 1705 | { | 1702 | { |
| 1706 | Fwiden (); | 1703 | Fwiden (); |
| 1707 | 1704 | ||
| 1708 | if (INTEGERP (current_buffer->prompt_end_charpos)) | 1705 | del_range (BEG, Z); |
| 1709 | del_range (XINT (current_buffer->prompt_end_charpos), Z); | ||
| 1710 | else | ||
| 1711 | del_range (BEG, Z); | ||
| 1712 | 1706 | ||
| 1713 | current_buffer->last_window_start = 1; | 1707 | current_buffer->last_window_start = 1; |
| 1714 | /* Prevent warnings, or suspension of auto saving, that would happen | 1708 | /* Prevent warnings, or suspension of auto saving, that would happen |