changeset 1443:b359c67a9194

* minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs and previous_echo_glyphs; let message do that work.
author Jim Blandy <jimb@redhat.com>
date Mon, 19 Oct 1992 18:44:46 +0000
parents 89ac471c745c
children 559d2f2119aa
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Mon Oct 19 18:41:37 1992 +0000
+++ b/src/minibuf.c	Mon Oct 19 18:44:46 1992 +0000
@@ -883,17 +883,12 @@
 temp_echo_area_glyphs (m)
      char *m;
 {
-  /* It's not very modular to do things this way, but then it seems
-     to me that the whole echo_area_glyphs thing is a hack anyway.  */
-  extern char *previous_echo_glyphs;
-
   int osize = ZV;
   Lisp_Object oinhibit;
   oinhibit = Vinhibit_quit;
 
-  /* Clear out any old echo-area message to make way for our new
-     thing.  */
-  echo_area_glyphs = previous_echo_glyphs = 0;
+  /* Clear out any old echo-area message to make way for our new thing.  */
+  message (0);
 
   SET_PT (osize);
   insert_string (m);