changeset 25653:ff17759d9d9f

(Fget_buffer_create): Use prompt_end_charpos instead of minibuffer_prompt_length. (Fmake_indirect_buffer): Ditto. (Fkill_buffer): Ditto. (Ferase_buffer): Ditto.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 12 Sep 1999 20:21:48 +0000
parents 28e2ad53250c
children 4bf85d1d270b
files src/buffer.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Sun Sep 12 20:21:47 1999 +0000
+++ b/src/buffer.c	Sun Sep 12 20:21:48 1999 +0000
@@ -373,7 +373,7 @@
   b->newline_cache = 0;
   b->width_run_cache = 0;
   b->width_table = Qnil;
-  b->minibuffer_prompt_length = 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 +453,7 @@
   b->newline_cache = 0;
   b->width_run_cache = 0;
   b->width_table = Qnil;
-  b->minibuffer_prompt_length = Qnil;
+  b->prompt_end_charpos = Qnil;
 
   /* Put this on the chain of all buffers including killed ones.  */
   b->next = all_buffers;
@@ -1223,7 +1223,7 @@
       b->width_run_cache = 0;
     }
   b->width_table = Qnil;
-  b->minibuffer_prompt_length = Qnil;
+  b->prompt_end_charpos = Qnil;
   UNBLOCK_INPUT;
   b->undo_list = Qnil;
 
@@ -1706,8 +1706,8 @@
 {
   Fwiden ();
   
-  if (INTEGERP (current_buffer->minibuffer_prompt_length))
-    del_range (XINT (current_buffer->minibuffer_prompt_length), Z);
+  if (INTEGERP (current_buffer->prompt_end_charpos))
+    del_range (XINT (current_buffer->prompt_end_charpos), Z);
   else
     del_range (BEG, Z);