changeset 5875:6bfcd23bfa84

(Fdo_auto_save): Save echo_area_glyphs_length.
author Karl Heuer <kwzh@gnu.org>
date Thu, 10 Feb 1994 00:39:28 +0000
parents fbda87c8ad54
children 82e1a78ab625
files src/fileio.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Thu Feb 10 00:35:15 1994 +0000
+++ b/src/fileio.c	Thu Feb 10 00:39:28 1994 +0000
@@ -3324,6 +3324,7 @@
   Lisp_Object tail, buf;
   int auto_saved = 0;
   char *omessage = echo_area_glyphs;
+  int omessage_length = echo_area_glyphs_length;
   extern int minibuf_level;
   int do_handled_files;
   Lisp_Object oquit;
@@ -3420,7 +3421,12 @@
   record_auto_save ();
 
   if (auto_saved && NILP (no_message))
-    message1 (omessage ? omessage : "Auto-saving...done");
+    {
+      if (omessage)
+	message2 (omessage, omessage_length);
+      else
+	message1 ("Auto-saving...done");
+    }
 
   Vquit_flag = oquit;