From: Karl Heuer Date: Mon, 3 Apr 1995 22:16:16 +0000 (+0000) Subject: (main): Start with an empty message log. X-Git-Tag: emacs-19.34~4663 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=93572b43173a1e844592bb6f8082a9265234a744;p=emacs.git (main): Start with an empty message log. --- 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)