]> git.eshelyaron.com Git - emacs.git/commitdiff
(main): Start with an empty message log.
authorKarl Heuer <kwzh@gnu.org>
Mon, 3 Apr 1995 22:16:16 +0000 (22:16 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 3 Apr 1995 22:16:16 +0000 (22:16 +0000)
src/emacs.c

index 8a14218424bd7195bea4c275bbcf730eb6549ee0..56bad7f1206e185034dc3547c786d6c643ef01e1 100644 (file)
@@ -906,6 +906,16 @@ Usage: %s [-t term] [--terminal term]  [-nw] [--no-windows]  [--batch]\n\
 #endif /* CANNOT_DUMP */
     }
 
+  if (initialized)
+    {
+      /* Erase any pre-dump messages in the message log, to avoid confusion */
+      Lisp_Object old_log_max;
+      old_log_max = Vmessage_log_max;
+      XSETFASTINT (Vmessage_log_max, 0);
+      message_dolog ("", 0, 1);
+      Vmessage_log_max = old_log_max;
+    }
+
   initialized = 1;
 
 #if defined (sun) || defined (LOCALTIME_CACHE)