Commit 93572b43 authored by Karl Heuer's avatar Karl Heuer

(main): Start with an empty message log.

parent d8616fc1
...@@ -906,6 +906,16 @@ Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\ ...@@ -906,6 +906,16 @@ Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\
#endif /* CANNOT_DUMP */ #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; initialized = 1;
#if defined (sun) || defined (LOCALTIME_CACHE) #if defined (sun) || defined (LOCALTIME_CACHE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment