summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-04-03 22:16:16 +0000
committerKarl Heuer <kwzh@gnu.org>1995-04-03 22:16:16 +0000
commitf3f5411e435b8e1fbc4fcb927e71ce968f9fa031 (patch)
treebbdd79d2bbe51c7d8a39c3517dcc7d1a63c7ebe5
parent96cd5ca5dd8a04168146f6028486093d73e35c97 (diff)
downloademacs-f3f5411e435b8e1fbc4fcb927e71ce968f9fa031.tar.gz
(main): Start with an empty message log.
-rw-r--r--src/emacs.c10
1 files changed, 10 insertions, 0 deletions
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)