Mercurial > emacs
diff src/buffer.c @ 25626:acfb741e6e24
(Ferase_buffer): Don't erase the minibuffer prompt.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 10 Sep 1999 06:32:34 +0000 |
parents | e98819a94512 |
children | ff17759d9d9f |
line wrap: on
line diff
--- a/src/buffer.c Fri Sep 10 02:42:59 1999 +0000 +++ b/src/buffer.c Fri Sep 10 06:32:34 1999 +0000 @@ -1705,7 +1705,12 @@ () { Fwiden (); - del_range (BEG, Z); + + if (INTEGERP (current_buffer->minibuffer_prompt_length)) + del_range (XINT (current_buffer->minibuffer_prompt_length), Z); + else + del_range (BEG, Z); + current_buffer->last_window_start = 1; /* Prevent warnings, or suspension of auto saving, that would happen if future size is less than past size. Use of erase-buffer