changeset 11195:0833fb6a29bb

(main): Start with an empty message log.
author Karl Heuer <kwzh@gnu.org>
date Mon, 03 Apr 1995 22:16:16 +0000
parents ca5effbebf81
children a74358cc05c6
files src/emacs.c
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Mon Apr 03 22:14:27 1995 +0000
+++ b/src/emacs.c	Mon Apr 03 22:16:16 1995 +0000
@@ -906,6 +906,16 @@
 #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)