changeset 7289:18940d9c3c4c

(read_minibuf): Clear previous_echo_glyphs.
author Richard M. Stallman <rms@gnu.org>
date Tue, 03 May 1994 05:12:17 +0000
parents a53bf0d79146
children b71375c9b1b3
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Tue May 03 01:23:42 1994 +0000
+++ b/src/minibuf.c	Tue May 03 05:12:17 1994 +0000
@@ -251,6 +251,8 @@
   minibuf_prompt = (char *) alloca (XSTRING (prompt)->size + 1);
   bcopy (XSTRING (prompt)->data, minibuf_prompt, XSTRING (prompt)->size + 1);
   echo_area_glyphs = 0;
+  /* This is in case the minibuffer-setup-hook calls Fsit_for.  */
+  previous_echo_glyphs = 0;
 
   Vhelp_form = Vminibuffer_help_form;
   current_buffer->keymap = map;