From 93572b43173a1e844592bb6f8082a9265234a744 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 3 Apr 1995 22:16:16 +0000 Subject: [PATCH] (main): Start with an empty message log. --- src/emacs.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/emacs.c b/src/emacs.c index 8a14218424b..56bad7f1206 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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) -- 2.39.5