# HG changeset patch # User Gerd Moellmann # Date 940164794 0 # Node ID 9c4556ef15de3b114b2f03547d7286649aa9602d # Parent cf5dd9e8bf792b9f2dbd5cabeed0056c9411e278 (Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer): Don't initialize prompt_end_charpos field. diff -r cf5dd9e8bf79 -r 9c4556ef15de src/buffer.c --- a/src/buffer.c Sun Oct 17 12:51:19 1999 +0000 +++ b/src/buffer.c Sun Oct 17 12:53:14 1999 +0000 @@ -373,7 +373,6 @@ b->newline_cache = 0; b->width_run_cache = 0; b->width_table = Qnil; - b->prompt_end_charpos = Qnil; b->prevent_redisplay_optimizations_p = 1; /* Put this on the chain of all buffers including killed ones. */ @@ -453,7 +452,6 @@ b->newline_cache = 0; b->width_run_cache = 0; b->width_table = Qnil; - b->prompt_end_charpos = Qnil; /* Put this on the chain of all buffers including killed ones. */ b->next = all_buffers; @@ -1222,7 +1220,6 @@ b->width_run_cache = 0; } b->width_table = Qnil; - b->prompt_end_charpos = Qnil; UNBLOCK_INPUT; b->undo_list = Qnil; @@ -1704,11 +1701,8 @@ () { Fwiden (); - - if (INTEGERP (current_buffer->prompt_end_charpos)) - del_range (XINT (current_buffer->prompt_end_charpos), Z); - else - del_range (BEG, Z); + + del_range (BEG, Z); current_buffer->last_window_start = 1; /* Prevent warnings, or suspension of auto saving, that would happen